aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qemu-timer.c4
-rw-r--r--qemu-timer.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/qemu-timer.c b/qemu-timer.c
index b9fd75dbb8..4a6fc98ca0 100644
--- a/qemu-timer.c
+++ b/qemu-timer.c
@@ -31,10 +31,6 @@
#include "qemu-timer.h"
-#ifdef __FreeBSD__
-#include <sys/param.h>
-#endif
-
#ifdef _WIN32
#include <mmsystem.h>
#endif
diff --git a/qemu-timer.h b/qemu-timer.h
index 5175419e5f..f8af595f13 100644
--- a/qemu-timer.h
+++ b/qemu-timer.h
@@ -5,6 +5,10 @@
#include "main-loop.h"
#include "notify.h"
+#ifdef __FreeBSD__
+#include <sys/param.h>
+#endif
+
/* timers */
#define SCALE_MS 1000000