summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/config.h.in3
-rw-r--r--source3/include/includes.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index de5cd41544..ed3c1ac770 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -361,6 +361,9 @@
/* Define if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
+/* Define if you have the <sys/resource.h> header file. */
+#undef HAVE_SYS_RESOURCE_H
+
/* Define if you have the <sys/security.h> header file. */
#undef HAVE_SYS_SECURITY_H
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 42ec579692..4ced157359 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -49,9 +49,14 @@
#include <sys/types.h>
+#ifdef HAVE_SYS_RESOURCE_H
+#include <sys/resource.h>
+#endif
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+
#include <stdio.h>
#include <stddef.h>