From f64c992ec505228e8e21de8b79143a2b15460c8e Mon Sep 17 00:00:00 2001 From: Rolland Dudemaine Date: Tue, 27 Oct 2015 02:08:11 +0100 Subject: 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 --- src/corelib/io/qlockfile_unix.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/corelib/io') 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 // flock +#endif + #include // kill #include // kill #include // gethostname -- cgit v1.2.3