summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qsharedmemory_unix.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/kernel/qsharedmemory_unix.cpp b/src/corelib/kernel/qsharedmemory_unix.cpp
index 61f7727..05369c4 100644
--- a/src/corelib/kernel/qsharedmemory_unix.cpp
+++ b/src/corelib/kernel/qsharedmemory_unix.cpp
@@ -48,6 +48,9 @@
#include <qdebug.h>
#include <errno.h>
+
+#ifndef QT_NO_SHAREDMEMORY
+
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>