From: Nathan Whitehorn Date: Sat, 14 Apr 2012 14:01:00 +0000 (+0200) Subject: os-posix: Fix build on FreeBSD X-Git-Tag: v1.1-rc0~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=15fdaee3c549afb24b121e060e9852ed29d11cab;p=thirdparty%2Fqemu.git os-posix: Fix build on FreeBSD Add an include for a header required to build on recent FreeBSD. Signed-off-by: Nathan Whitehorn Signed-off-by: Andreas Färber Signed-off-by: Anthony Liguori --- diff --git a/os-posix.c b/os-posix.c index e3ed4972249..daf3d6f6f38 100644 --- a/os-posix.c +++ b/os-posix.c @@ -44,6 +44,10 @@ #include #endif +#ifdef __FreeBSD__ +#include +#endif + static struct passwd *user_pwd; static const char *chroot_dir; static int daemonize;