From: Andreas Faerber Date: Sat, 5 May 2012 18:08:40 +0000 (+0200) Subject: qemu-timer: Move include for __FreeBSD_version to header X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~4123 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=165ceac0950dcfdf7a2676d6189bbab3d67701f1;p=sdk%2Femulator%2Fqemu.git 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 Cc: Juergen Lock Signed-off-by: Anthony Liguori --- diff --git a/qemu-timer.c b/qemu-timer.c index b9fd75d..4a6fc98 100644 --- a/qemu-timer.c +++ b/qemu-timer.c @@ -31,10 +31,6 @@ #include "qemu-timer.h" -#ifdef __FreeBSD__ -#include -#endif - #ifdef _WIN32 #include #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 +#endif + /* timers */ #define SCALE_MS 1000000