qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Fix build on FreeBSD


From: Nathan Whitehorn
Subject: [Qemu-devel] [PATCH] Fix build on FreeBSD
Date: Sat, 03 Mar 2012 10:34:03 -0600
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0) Gecko/20120212 Thunderbird/10.0

Fix a missing header required to build on recent FreeBSD.

Signed-off-by: Nathan Whitehorn <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]