summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qsharedmemory_unix.cpp
diff options
context:
space:
mode:
authorBill King <bill.king@nokia.com>2009-11-18 22:32:16 (GMT)
committerBill King <bill.king@nokia.com>2009-11-18 22:32:16 (GMT)
commit0186faea383f3f8223bffd1844e5a47ca22770a5 (patch)
tree8b17a7c752ada7c06d1d9b88575d5bd467dd3fbe /src/corelib/kernel/qsharedmemory_unix.cpp
parentc7ef9c969fb368027135c5e7b0e9b6f53c465702 (diff)
parent80cd617b05ad3e647c87dc063d40cde0617344ca (diff)
downloadQt-0186faea383f3f8223bffd1844e5a47ca22770a5.zip
Qt-0186faea383f3f8223bffd1844e5a47ca22770a5.tar.gz
Qt-0186faea383f3f8223bffd1844e5a47ca22770a5.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6
Diffstat (limited to 'src/corelib/kernel/qsharedmemory_unix.cpp')
-rw-r--r--src/corelib/kernel/qsharedmemory_unix.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/kernel/qsharedmemory_unix.cpp b/src/corelib/kernel/qsharedmemory_unix.cpp
index 40b9f04..a850df0 100644
--- a/src/corelib/kernel/qsharedmemory_unix.cpp
+++ b/src/corelib/kernel/qsharedmemory_unix.cpp
@@ -49,6 +49,7 @@
#include <errno.h>
+#ifndef QT_NO_SHAREDMEMORY
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
@@ -56,6 +57,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
+#endif //QT_NO_SHAREDMEMORY
#include "private/qcore_unix_p.h"