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 <>
Signed-off-by: default avatarAndreas Frber <>
Signed-off-by: default avatarAnthony Liguori <>
parent 7c7db755
......@@ -44,6 +44,10 @@
#include <sys/prctl.h>
#ifdef __FreeBSD__
#include <sys/sysctl.h>
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