projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c7db75
)
os-posix: Fix build on FreeBSD
author
Nathan Whitehorn
<nwhitehorn@freebsd.org>
Sat, 14 Apr 2012 14:01:00 +0000
(16:01 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Thu, 26 Apr 2012 18:14:58 +0000
(13:14 -0500)
Add an include for a header required to build on recent FreeBSD.
Signed-off-by: Nathan Whitehorn <nwhitehorn@freebsd.org>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
os-posix.c
patch
|
blob
|
history
diff --git
a/os-posix.c
b/os-posix.c
index e3ed49722497e08f2dbda50a732200ed8de46493..daf3d6f6f381105a04b09ec5efa54a756ddd30a6 100644
(file)
--- a/
os-posix.c
+++ b/
os-posix.c
@@
-44,6
+44,10
@@
#include <sys/prctl.h>
#endif
+#ifdef __FreeBSD__
+#include <sys/sysctl.h>
+#endif
+
static struct passwd *user_pwd;
static const char *chroot_dir;
static int daemonize;