From: Andreas Faerber <andreas.faerber@web.de>
To: qemu-devel@nongnu.org
Cc: Andreas Faerber <andreas.faerber@web.de>,
Juergen Lock <nox@jelal.kn-bremen.de>
Subject: [Qemu-devel] [PATCH for-1.1] qemu-timer: Move include for __FreeBSD_version to header
Date: Sat, 5 May 2012 20:08:40 +0200 [thread overview]
Message-ID: <1336241320-4257-1-git-send-email-andreas.faerber@web.de> (raw)
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
next reply other threads:[~2012-05-05 18:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-05 18:08 Andreas Faerber [this message]
2012-05-08 17:29 ` [Qemu-devel] [PATCH for-1.1] qemu-timer: Move include for __FreeBSD_version to header Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1336241320-4257-1-git-send-email-andreas.faerber@web.de \
--to=andreas.faerber@web.de \
--cc=nox@jelal.kn-bremen.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).