summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsharedmemory
diff options
context:
space:
mode:
authorninerider <qt-info@nokia.com>2009-09-24 09:37:28 (GMT)
committerninerider <qt-info@nokia.com>2009-09-25 07:51:14 (GMT)
commitb3d3f6088147a457274b2173b93d657540dd056f (patch)
treeaa328d2b7ac8f5f93d9688c1d3cb3434581b4850 /tests/auto/qsharedmemory
parentc597cbb8a4748039fde14fbfb70cd148ff26224b (diff)
downloadQt-b3d3f6088147a457274b2173b93d657540dd056f.zip
Qt-b3d3f6088147a457274b2173b93d657540dd056f.tar.gz
Qt-b3d3f6088147a457274b2173b93d657540dd056f.tar.bz2
Compiler fix for Windows CE
The <sys/types.h> header is unavailable in Windows CE Reviewed-by: Joerg
Diffstat (limited to 'tests/auto/qsharedmemory')
-rw-r--r--tests/auto/qsharedmemory/src/qsystemlock_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qsharedmemory/src/qsystemlock_p.h b/tests/auto/qsharedmemory/src/qsystemlock_p.h
index 2ff1a79..2d44051 100644
--- a/tests/auto/qsharedmemory/src/qsystemlock_p.h
+++ b/tests/auto/qsharedmemory/src/qsystemlock_p.h
@@ -47,7 +47,9 @@
#include "qsystemlock.h"
#include "private/qsharedmemory_p.h"
+#ifndef Q_OS_WINCE
#include <sys/types.h>
+#endif
#define MAX_LOCKS 64