From 88bf8a87de180360c1b0e96cd05e094c65ed766b Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Sat, 11 Jul 2020 10:11:31 +0200 Subject: [PATCH] Fix compile on FreeBSD --- core/document.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/document.cpp b/core/document.cpp index 99130f4de..f31345d5c 100644 --- a/core/document.cpp +++ b/core/document.cpp @@ -21,8 +21,11 @@ #define _WIN32_WINNT 0x0500 #include #elif defined(Q_OS_FREEBSD) -#include +// clang-format off +// FreeBSD really wants this include order #include +#include +// clang-format on #include #endif