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/param | |
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/param')
-rw-r--r-- | source3/param/loadparm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index c91f67656b..b278b9616d 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -54,6 +54,10 @@ #include "includes.h" #include "printing.h" +#ifdef HAVE_SYS_SYSCTL_H +#include <sys/sysctl.h> +#endif + #ifdef HAVE_HTTPCONNECTENCRYPT #include <cups/http.h> #endif |