summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--osdep.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/osdep.c b/osdep.c
index cf3a2c620a..9059f019e7 100644
--- a/osdep.c
+++ b/osdep.c
@@ -28,14 +28,15 @@
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
+
+/* Needed early for CONFIG_BSD etc. */
+#include "config-host.h"
+
#ifdef CONFIG_SOLARIS
#include <sys/types.h>
#include <sys/statvfs.h>
#endif
-/* Needed early for CONFIG_BSD etc. */
-#include "config-host.h"
-
#ifdef _WIN32
#include <windows.h>
#elif defined(CONFIG_BSD)