diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-10-28 14:22:50 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-10-28 14:22:50 +0000 |
commit | 8f2366e57d29458f2bb63d9a0033de5c730a1b94 (patch) | |
tree | 35ad535affbb0bc04d43cd9f6976e21b1d419935 | |
parent | cc8fe0f0629eea9acc39e30d8d76d5890a5b6978 (diff) | |
download | samba-8f2366e57d29458f2bb63d9a0033de5c730a1b94.tar.gz samba-8f2366e57d29458f2bb63d9a0033de5c730a1b94.tar.xz samba-8f2366e57d29458f2bb63d9a0033de5c730a1b94.zip |
define USE_SYSV_IPC on a bunch more systems.
Needs some testing though.
-rw-r--r-- | source/include/includes.h | 17 |
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> |