aboutsummaryrefslogtreecommitdiff
path: root/qemu-timer.h
diff options
context:
space:
mode:
authorAndreas Faerber <andreas.faerber@web.de>2012-05-05 20:08:40 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2012-05-08 11:14:56 -0500
commit165ceac0950dcfdf7a2676d6189bbab3d67701f1 (patch)
treef7f46f57f1bef75d915383497fe1f49526bd0339 /qemu-timer.h
parent4f08129eeb42422655cc946a0a0c3accc2b8e3db (diff)
qemu-timer: Move include for __FreeBSD_version to header
sys/param.h is needed for __FreeBSD_version. Pointed out by Juergen, thanks. Signed-off-by: Andreas Faerber <andreas.faerber@web.de> Cc: Juergen Lock <nox@jelal.kn-bremen.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-timer.h')
-rw-r--r--qemu-timer.h4
1 files changed, 4 insertions, 0 deletions
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