diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 2 | ||||
-rw-r--r-- | source3/lib/fault.c | 5 | ||||
-rw-r--r-- | source3/param/loadparm.c | 4 |
3 files changed, 10 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in index 325575148e..4eaebcab6d 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -652,7 +652,7 @@ AC_CHECK_HEADERS(aio.h sys/fcntl.h sys/select.h fcntl.h sys/time.h sys/unistd.h AC_CHECK_HEADERS(unistd.h grp.h sys/id.h memory.h alloca.h) AC_CHECK_HEADERS(limits.h float.h pthread.h libintl.h) AC_CHECK_HEADERS(rpc/rpc.h rpcsvc/nis.h rpcsvc/ypclnt.h) -AC_CHECK_HEADERS(sys/param.h ctype.h sys/wait.h sys/resource.h sys/ioctl.h sys/ipc.h sys/prctl.h) +AC_CHECK_HEADERS(sys/param.h ctype.h sys/wait.h sys/resource.h sys/ioctl.h sys/ipc.h sys/prctl.h sys/sysctl.h) AC_CHECK_HEADERS(sys/mman.h sys/filio.h sys/priv.h sys/shm.h string.h strings.h stdlib.h) AC_CHECK_HEADERS(sys/mount.h sys/vfs.h sys/fs/s5param.h sys/filsys.h termios.h termio.h) AC_CHECK_HEADERS(sys/termio.h sys/statfs.h sys/dustat.h sys/statvfs.h stdarg.h) 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 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 |