summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/forgotten-qinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/forgotten-qinterface.h')
-rw-r--r--tests/auto/tools/moc/forgotten-qinterface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/forgotten-qinterface.h b/tests/auto/tools/moc/forgotten-qinterface.h
index 4c8aa45d92..0c2fd87aa5 100644
--- a/tests/auto/tools/moc/forgotten-qinterface.h
+++ b/tests/auto/tools/moc/forgotten-qinterface.h
@@ -39,6 +39,9 @@
**
****************************************************************************/
+#ifndef FORGOTTEN_QINTERFACE_H
+#define FORGOTTEN_QINTERFACE_H
+
#include <QObject>
struct MyInterface
@@ -53,3 +56,4 @@ class Test : public QObject, public MyInterface
{
Q_OBJECT
};
+#endif // FORGOTTEN_QINTERFACE_H