summaryrefslogtreecommitdiff
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
commit8f2366e57d29458f2bb63d9a0033de5c730a1b94 (patch)
tree35ad535affbb0bc04d43cd9f6976e21b1d419935
parentcc8fe0f0629eea9acc39e30d8d76d5890a5b6978 (diff)
downloadsamba-8f2366e57d29458f2bb63d9a0033de5c730a1b94.tar.gz
define USE_SYSV_IPC on a bunch more systems.
Needs some testing though.
-rw-r--r--source/include/includes.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index 91a2ec5c67b..6f3450c4fd5 100644
--- a/source/include/includes.h
+++ b/source/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>