Skip to content
Snippets Groups Projects
Commit 15fdaee3 authored by Nathan Whitehorn's avatar Nathan Whitehorn Committed by Anthony Liguori
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment