On 05/05/2012 01:08 PM, Andreas Faerber wrote:
sys/param.h is needed for __FreeBSD_version.
Pointed out by Juergen, thanks.

Signed-off-by: Andreas Faerber<andreas.faer...@web.de>
Cc: Juergen Lock<n...@jelal.kn-bremen.de>

Applied.  Thanks.

Regards,

Anthony Liguori

---
  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


Reply via email to