diff options
author | Björn Jacke <bj@sernet.de> | 2009-09-15 06:48:49 +0200 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2009-09-15 06:54:31 +0200 |
commit | f410d23185f5c81dbc111285ea0ba9daf5fc111d (patch) | |
tree | 166ea900100e443b86c1a7d760f5f776732551b3 /source3/lib | |
parent | 24309bdb2efca36375f3c833f72ebec3908d31fd (diff) | |
download | samba-f410d23185f5c81dbc111285ea0ba9daf5fc111d.tar.gz samba-f410d23185f5c81dbc111285ea0ba9daf5fc111d.tar.bz2 samba-f410d23185f5c81dbc111285ea0ba9daf5fc111d.zip |
s3: BSD needs sys/sysctl.h included to build properly
FreeBSD (and other BSDs, too) need sys/sysctl.h inclueded to use sysctlbyname().
Thanks to Timur Bakeyev for that.
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/fault.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/fault.c b/source3/lib/fault.c index 51fc53bb0d..bf61bb26c4 100644 --- a/source3/lib/fault.c +++ b/source3/lib/fault.c @@ -20,6 +20,11 @@ #include "includes.h" +#ifdef HAVE_SYS_SYSCTL_H +#include <sys/sysctl.h> +#endif + + #ifdef HAVE_SYS_PRCTL_H #include <sys/prctl.h> #endif |