summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-16 05:22:01 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-16 05:22:01 +0000
commit23294e6fc1a6270067b7745ccaea1117a706e361 (patch)
tree2c39907fa844334596cbc7005e21cafdc84aeb3e /source3/include
parent739d0b1ddc58bbb792c3eebe8c545602a4fae438 (diff)
downloadsamba-23294e6fc1a6270067b7745ccaea1117a706e361.tar.gz
samba-23294e6fc1a6270067b7745ccaea1117a706e361.tar.bz2
samba-23294e6fc1a6270067b7745ccaea1117a706e361.zip
added include of sys/resource.h
(This used to be commit bf136b4fa8aeadcea8f65610148d46d093aba2cc)
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>