From f410d23185f5c81dbc111285ea0ba9daf5fc111d Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Tue, 15 Sep 2009 06:48:49 +0200 Subject: 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. --- source3/param/loadparm.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/param') 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 +#endif + #ifdef HAVE_HTTPCONNECTENCRYPT #include #endif -- cgit