summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-23 17:27:21 +0100
committerVolker Lendecke <vl@samba.org>2011-03-23 16:30:28 +0100
commit67fa593aded2e84829217de42ab4d3a0c766fe4a (patch)
treeb59b7fc95a5120e295f5a2ea22e83e6b3c7bc887 /source3
parentda8d36ce9699e1ea7fbc17b731e2b458c1795f5b (diff)
downloadsamba-67fa593aded2e84829217de42ab4d3a0c766fe4a.tar.gz
samba-67fa593aded2e84829217de42ab4d3a0c766fe4a.tar.bz2
samba-67fa593aded2e84829217de42ab4d3a0c766fe4a.zip
s3: Include prctl where it is actually used
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 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;
/**