summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-10-28 14:22:50 +0000
committerAndrew Tridgell <tridge@samba.org>1997-10-28 14:22:50 +0000
commite06da92b377111a3c2931cf693ce14c40b054672 (patch)
tree79d41e4fcb63b06cab053dfc4914a52d7a81e0f7 /source3
parentc9fa24b7a8809a7963f0970cf2dd21f6804e31a4 (diff)
downloadsamba-e06da92b377111a3c2931cf693ce14c40b054672.tar.gz
samba-e06da92b377111a3c2931cf693ce14c40b054672.tar.bz2
samba-e06da92b377111a3c2931cf693ce14c40b054672.zip
define USE_SYSV_IPC on a bunch more systems.
Needs some testing though. (This used to be commit 8f2366e57d29458f2bb63d9a0033de5c730a1b94)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/includes.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 91a2ec5c67..6f3450c4fd 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -214,9 +214,6 @@ Here come some platform specific sections
#include <dirent.h>
#include <string.h>
#include <sys/vfs.h>
-#include <sys/ipc.h>
-#include <sys/sem.h>
-#include <sys/shm.h>
#include <netinet/in.h>
#ifndef NO_ASMSIGNALH
#include <asm/signal.h>
@@ -297,9 +294,6 @@ typedef unsigned short mode_t;
#include <sys/statvfs.h>
#include <sys/filio.h>
#include <sys/sockio.h>
-#include <sys/ipc.h>
-#include <sys/sem.h>
-#include <sys/shm.h>
#include <netinet/in_systm.h>
#include <netinet/tcp.h>
#include <netinet/ip.h>
@@ -362,6 +356,7 @@ char *getwd(char *);
#define USE_WAITPID
#define USE_DIRECT
#define USE_SETSID
+#define USE_SYSV_IPC
#endif
#if defined(SGI5) || defined(SGI6)
@@ -382,6 +377,7 @@ char *getwd(char *);
#define USE_STATVFS
#define USE_WAITPID
#define USE_SETSID
+#define USE_SYSV_IPC
#endif
@@ -438,6 +434,7 @@ extern struct passwd *getpwnam();
#define USE_STATVFS
#define USE_GETCWD
#define USE_SETSID
+#define USE_SYSV_IPC
#endif
@@ -556,9 +553,6 @@ char *mktemp(char *); /* No standard include */
#include <sys/types.h>
#include <sys/termios.h>
#include <netinet/tcp.h>
-#include <sys/ipc.h>
-#include <sys/sem.h>
-#include <sys/shm.h>
#ifdef HPUX_10_TRUSTED
#include <hpsecurity.h>
#include <prot.h>
@@ -1077,6 +1071,11 @@ struct spwd { /* fake shadow password structure */
#endif
#endif
+#ifdef USE_SYSV_IPC
+#include <sys/ipc.h>
+#include <sys/sem.h>
+#include <sys/shm.h>
+#endif
#ifdef AFS_AUTH
#include <afs/stds.h>