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>
This commit is contained in:
Rolland Dudemaine 2015-10-27 02:08:11 +01:00 committed by Thiago Macieira
parent 6cae64b9e4
commit f64c992ec5

View File

@ -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