summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-05-03 19:47:30 +0000
committerJeremy Allison <jra@samba.org>2001-05-03 19:47:30 +0000
commit548d16869acffdec899121906a7bcd88f58d9b6f (patch)
tree8107dc0f2f3a691deaaf02adf2cc6705f5a70763 /source3/include/includes.h
parent1475474425c07d6e0a997793ab6b078ffdf466d9 (diff)
downloadsamba-548d16869acffdec899121906a7bcd88f58d9b6f.tar.gz
samba-548d16869acffdec899121906a7bcd88f58d9b6f.tar.bz2
samba-548d16869acffdec899121906a7bcd88f58d9b6f.zip
Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.h
and using autoconf tests. Added "restrict acl with mask" parameter. Jeremy. (This used to be commit 7792e32ba7fd734cc68b354f31c382ac11521fe8)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index e2edb512ae..5988393588 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -357,6 +357,14 @@
#endif
#endif /* HAVE_NETGROUP */
+#if defined(HAVE_SYS_IPC_H)
+#include <sys/ipc.h>
+#endif /* HAVE_SYS_IPC_H */
+
+#if defined(HAVE_SYS_SHM_H)
+#include <sys/shm.h>
+#endif /* HAVE_SYS_SHM_H */
+
/*
* Define VOLATILE if needed.
*/