define USE_SYSV_IPC on a bunch more systems.
authorAndrew Tridgell <tridge@samba.org>
Tue, 28 Oct 1997 14:22:50 +0000 (14:22 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 28 Oct 1997 14:22:50 +0000 (14:22 +0000)
Needs some testing though.

source/include/includes.h

index 91a2ec5c67bd8d245bc4b5c5be2931d6bac3840f..6f3450c4fd5f602bbfa911c254e4b730c4668e77 100644 (file)
@@ -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>