summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/function-with-attributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/function-with-attributes.h')
-rw-r--r--tests/auto/tools/moc/function-with-attributes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/function-with-attributes.h b/tests/auto/tools/moc/function-with-attributes.h
index afa02e6f3a..88f3e3fcb3 100644
--- a/tests/auto/tools/moc/function-with-attributes.h
+++ b/tests/auto/tools/moc/function-with-attributes.h
@@ -38,6 +38,9 @@
** $QT_END_LICENSE$
**
****************************************************************************/
+
+#ifndef FUNCTION_WITH_ATTRIBUTES_H
+#define FUNCTION_WITH_ATTRIBUTES_H
#include <qobject.h>
// test support for gcc attributes with functions
@@ -62,3 +65,4 @@ public slots:
DEPRECATED2 void test2() {}
};
+#endif // FUNCTION_WITH_ATTRIBUTES_H