summaryrefslogtreecommitdiffstats
path: root/kdeui/ksharedpixmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/ksharedpixmap.h')
-rw-r--r--kdeui/ksharedpixmap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kdeui/ksharedpixmap.h b/kdeui/ksharedpixmap.h
index a4f4eb88c..4474cc3f5 100644
--- a/kdeui/ksharedpixmap.h
+++ b/kdeui/ksharedpixmap.h
@@ -16,6 +16,10 @@
#include <kpixmap.h>
+#ifdef Q_MOC_RUN
+#define Q_WS_X11
+#endif // Q_MOC_RUN
+
#ifdef Q_WS_X11
#include <tqstring.h>