From: Nathan Whitehorn <nwhitehorn@freebsd.org>
To: QEMU Developers <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH] Fix build on FreeBSD
Date: Sat, 03 Mar 2012 10:34:03 -0600 [thread overview]
Message-ID: <4F5247FB.40001@freebsd.org> (raw)
Fix a missing header required to build on recent FreeBSD.
Signed-off-by: Nathan Whitehorn <nwhitehorn@freebsd.org>
---
os-posix.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/os-posix.c b/os-posix.c
index dbf3b24..83b14a0 100644
--- a/os-posix.c
+++ b/os-posix.c
@@ -45,6 +45,10 @@
#include <sys/syscall.h>
#endif
+#ifdef __FreeBSD__
+#include <sys/sysctl.h>
+#endif
+
#ifdef CONFIG_EVENTFD
#include <sys/eventfd.h>
#endif
--
1.7.9
next reply other threads:[~2012-03-03 17:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-03 16:34 Nathan Whitehorn [this message]
2012-03-17 16:20 ` [Qemu-devel] [PATCH] Fix build on FreeBSD Blue Swirl
2012-03-17 21:55 ` Nathan Whitehorn
-- strict thread matches above, loose matches on Subject: below --
2011-05-31 14:57 Nathan Whitehorn
2011-06-02 15:01 ` Andreas Färber
2011-06-05 14:03 ` Nathan Whitehorn
2011-06-07 15:27 ` Alexandre Raymond
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=4F5247FB.40001@freebsd.org \
--to=nwhitehorn@freebsd.org \
--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).