summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-23 17:24:25 +0100
committerVolker Lendecke <vl@samba.org>2011-03-23 16:30:27 +0100
commitda8d36ce9699e1ea7fbc17b731e2b458c1795f5b (patch)
tree5677e6dda8857e20c5b00f0842be9ea5536f9cbe
parentcfa8b3663266521c8583168b8f71535c43297481 (diff)
downloadsamba-da8d36ce9699e1ea7fbc17b731e2b458c1795f5b.tar.gz
samba-da8d36ce9699e1ea7fbc17b731e2b458c1795f5b.tar.bz2
samba-da8d36ce9699e1ea7fbc17b731e2b458c1795f5b.zip
s3: Attempt to fix the build on FreeBSD
-rw-r--r--source3/lib/dumpcore.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/dumpcore.c b/source3/lib/dumpcore.c
index 8a1c43a72f..4d093a2b16 100644
--- a/source3/lib/dumpcore.c
+++ b/source3/lib/dumpcore.c
@@ -27,6 +27,10 @@
#include "includes.h"
+#ifdef HAVE_SYS_SYSCTL_H
+#include <sys/sysctl.h>
+#endif
+
static char *corepath;
/**