summaryrefslogtreecommitdiff
path: root/source3/include
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
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')
-rw-r--r--source3/include/config.h.in6
-rw-r--r--source3/include/includes.h8
2 files changed, 14 insertions, 0 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index 5904cece6d..ce57f968d2 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -876,6 +876,9 @@
/* Define if you have the <sys/ioctl.h> header file. */
#undef HAVE_SYS_IOCTL_H
+/* Define if you have the <sys/ipc.h> header file. */
+#undef HAVE_SYS_IPC_H
+
/* Define if you have the <sys/mman.h> header file. */
#undef HAVE_SYS_MMAN_H
@@ -903,6 +906,9 @@
/* Define if you have the <sys/select.h> header file. */
#undef HAVE_SYS_SELECT_H
+/* Define if you have the <sys/shm.h> header file. */
+#undef HAVE_SYS_SHM_H
+
/* Define if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H
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.
*/