[libcalamares] Fix build on FreeBSD

This commit is contained in:
Adriaan de Groot 2019-08-04 22:09:53 +02:00
parent b8a74657f4
commit 312865cdd9

View File

@ -34,8 +34,11 @@
#endif
#ifdef Q_OS_FREEBSD
#include <sys/sysctl.h>
// clang-format off
// these includes need to stay in-order (that's a FreeBSD thing)
#include <sys/types.h>
#include <sys/sysctl.h>
// clang-format on
#endif
/** @brief When logging commands, don't log everything.