qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-1.1] qemu-timer: Move include for __FreeBSD_version to header
@ 2012-05-05 18:08 Andreas Faerber
  2012-05-08 17:29 ` Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Faerber @ 2012-05-05 18:08 UTC (permalink / raw)
  To: qemu-devel; +Cc: Andreas Faerber, Juergen Lock

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>
---
 qemu-timer.c |    4 ----
 qemu-timer.h |    4 ++++
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/qemu-timer.c b/qemu-timer.c
index 8eadd16..970b8b4 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 5175419..f8af595 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
-- 
1.7.8

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-08 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-05 18:08 [Qemu-devel] [PATCH for-1.1] qemu-timer: Move include for __FreeBSD_version to header Andreas Faerber
2012-05-08 17:29 ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).