summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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;
/**