summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorRolland Dudemaine <rolland@ghs.com>2015-10-27 02:08:11 +0100
committerThiago Macieira <thiago.macieira@intel.com>2015-12-04 01:03:11 +0000
commitf64c992ec505228e8e21de8b79143a2b15460c8e (patch)
treeba30125c5e465420ab0e28ce5ed25d2f1d8003c7 /src/corelib
parent6cae64b9e47a28f35b0d85644ae92d47d7be030f (diff)
sys/flock.h should not be included for Q_OS_INTEGRITY.
More specifically, equivalent declarations to this BSD header are defined implicitly on INTEGRITY, and the header does not exist. Change-Id: Ib0bd4b22742ef403c83dab0d72c268c1571b8250 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/qlockfile_unix.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/io/qlockfile_unix.cpp b/src/corelib/io/qlockfile_unix.cpp
index 365f3e07ab..d7a4a70da7 100644
--- a/src/corelib/io/qlockfile_unix.cpp
+++ b/src/corelib/io/qlockfile_unix.cpp
@@ -44,7 +44,10 @@
#include "private/qabstractfileengine_p.h"
#include "private/qtemporaryfile_p.h"
+#if !defined(Q_OS_INTEGRITY)
#include <sys/file.h> // flock
+#endif
+
#include <sys/types.h> // kill
#include <signal.h> // kill
#include <unistd.h> // gethostname