aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net.c3
-rw-r--r--osdep.c3
-rw-r--r--savevm.c3
-rw-r--r--vl.c3
4 files changed, 12 insertions, 0 deletions
diff --git a/net.c b/net.c
index 18ee309..1efa810 100644
--- a/net.c
+++ b/net.c
@@ -29,6 +29,9 @@
#include <sys/time.h>
#include <zlib.h>
+/* Needed early for _BSD etc. */
+#include "config-host.h"
+
#ifndef _WIN32
#include <sys/times.h>
#include <sys/wait.h>
diff --git a/osdep.c b/osdep.c
index 04e98f0..ff5f17a 100644
--- a/osdep.c
+++ b/osdep.c
@@ -33,6 +33,9 @@
#include <sys/statvfs.h>
#endif
+/* Needed early for _BSD etc. */
+#include "config-host.h"
+
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
diff --git a/savevm.c b/savevm.c
index a28af04..a25d365 100644
--- a/savevm.c
+++ b/savevm.c
@@ -29,6 +29,9 @@
#include <sys/time.h>
#include <zlib.h>
+/* Needed early for _BSD etc. */
+#include "config-host.h"
+
#ifndef _WIN32
#include <sys/times.h>
#include <sys/wait.h>
diff --git a/vl.c b/vl.c
index 00aae19..804c835 100644
--- a/vl.c
+++ b/vl.c
@@ -29,6 +29,9 @@
#include <sys/time.h>
#include <zlib.h>
+/* Needed early for _BSD etc. */
+#include "config-host.h"
+
#ifndef _WIN32
#include <pwd.h>
#include <sys/times.h>