提交 165ceac0 编写于 作者: A Andreas Faerber 提交者: Anthony Liguori

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: NAndreas Faerber <andreas.faerber@web.de>
Cc: Juergen Lock <nox@jelal.kn-bremen.de>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 4f08129e
......@@ -31,10 +31,6 @@
#include "qemu-timer.h"
#ifdef __FreeBSD__
#include <sys/param.h>
#endif
#ifdef _WIN32
#include <mmsystem.h>
#endif
......
......@@ -5,6 +5,10 @@
#include "main-loop.h"
#include "notify.h"
#ifdef __FreeBSD__
#include <sys/param.h>
#endif
/* timers */
#define SCALE_MS 1000000
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册