From 4397a1b26c244dc4cd0d3826e0c4135ec9003914 Mon Sep 17 00:00:00 2001 From: Ralf Nolden Date: Sat, 9 Jul 2016 10:44:31 +0200 Subject: FreeBSD: move order of includes for compiling The previous patch works for FreeBSD 10 but however not for 9 and 11 due to the order of includes. Move down to fix those compile issues due to unknown types when user.h is included first. Change-Id: Ica3d3ddf335a543c4a473e8b80d1667cb81667cf Reviewed-by: Thiago Macieira --- src/corelib/io/qlockfile_unix.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/corelib/io/qlockfile_unix.cpp b/src/corelib/io/qlockfile_unix.cpp index eed3158fbe..57c689ac81 100644 --- a/src/corelib/io/qlockfile_unix.cpp +++ b/src/corelib/io/qlockfile_unix.cpp @@ -59,12 +59,12 @@ # include # include #elif defined(Q_OS_BSD4) && !defined(Q_OS_IOS) -# if !defined(Q_OS_NETBSD) -# include -# endif # include # include # include +# if !defined(Q_OS_NETBSD) +# include +# endif #endif QT_BEGIN_NAMESPACE -- cgit v1.2.3