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>
This commit is contained in:
Andreas Faerber 2012-05-05 20:08:40 +02:00 committed by Anthony Liguori
parent 4f08129eeb
commit 165ceac095
2 changed files with 4 additions and 4 deletions

View File

@ -31,10 +31,6 @@
#include "qemu-timer.h"
#ifdef __FreeBSD__
#include <sys/param.h>
#endif
#ifdef _WIN32
#include <mmsystem.h>
#endif

View File

@ -5,6 +5,10 @@
#include "main-loop.h"
#include "notify.h"
#ifdef __FreeBSD__
#include <sys/param.h>
#endif
/* timers */
#define SCALE_MS 1000000