summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-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 4d093a2b16..505d9490e1 100644
--- a/source3/lib/dumpcore.c
+++ b/source3/lib/dumpcore.c
@@ -31,6 +31,10 @@
#include <sys/sysctl.h>
#endif
+#ifdef HAVE_SYS_PRCTL_H
+#include <sys/prctl.h>
+#endif
+
static char *corepath;
/**