summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/qelfparser_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/plugin/qelfparser_p.h')
-rw-r--r--src/corelib/plugin/qelfparser_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/corelib/plugin/qelfparser_p.h b/src/corelib/plugin/qelfparser_p.h
index 380d5a1e16..8087da5597 100644
--- a/src/corelib/plugin/qelfparser_p.h
+++ b/src/corelib/plugin/qelfparser_p.h
@@ -56,6 +56,8 @@
#include <qendian.h>
#include <qglobal.h>
+#if defined (Q_OF_ELF) && defined(Q_CC_GNU)
+
QT_BEGIN_NAMESPACE
class QString;
@@ -99,5 +101,6 @@ public:
QT_END_NAMESPACE
-#endif // QELFPARSER_P_H
+#endif // defined(Q_OF_ELF) && defined(Q_CC_GNU)
+#endif // QELFPARSER_P_H