Commit 15fdaee3 authored by Nathan Whitehorn's avatar Nathan Whitehorn Committed by Anthony Liguori

os-posix: Fix build on FreeBSD

Add an include for a header required to build on recent FreeBSD.
Signed-off-by: default avatarNathan Whitehorn <nwhitehorn@freebsd.org>
Signed-off-by: default avatarAndreas Frber <andreas.faerber@web.de>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent 7c7db755
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment