summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded/qwssignalhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/embedded/qwssignalhandler.cpp')
-rw-r--r--src/gui/embedded/qwssignalhandler.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/embedded/qwssignalhandler.cpp b/src/gui/embedded/qwssignalhandler.cpp
index 0946fb6..e85bd36 100644
--- a/src/gui/embedded/qwssignalhandler.cpp
+++ b/src/gui/embedded/qwssignalhandler.cpp
@@ -44,8 +44,10 @@
#ifndef QT_NO_QWS_SIGNALHANDLER
#include <sys/types.h>
-#include <sys/ipc.h>
-#include <sys/sem.h>
+#ifndef QT_NO_QWS_MULTIPROCESS
+# include <sys/ipc.h>
+# include <sys/sem.h>
+#endif
#include <signal.h>
QT_BEGIN_NAMESPACE