From 15fdaee3c549afb24b121e060e9852ed29d11cab Mon Sep 17 00:00:00 2001 From: Nathan Whitehorn Date: Sat, 14 Apr 2012 16:01:00 +0200 Subject: os-posix: Fix build on FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- os-posix.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'os-posix.c') diff --git a/os-posix.c b/os-posix.c index e3ed497224..daf3d6f6f3 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; -- cgit v1.2.1