added sequent fixes
authorSamba Release Account <samba-bugs@samba.org>
Sat, 4 May 1996 10:32:30 +0000 (10:32 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Sat, 4 May 1996 10:32:30 +0000 (10:32 +0000)
(This used to be commit 21c7f21fd59b592023c16734731f61cff6f04aee)

source3/include/includes.h

index cc2bbbfad7c0c674438a17c30e4c3f10227c67fc..2408b3c1949d4f2ec50cdd79528c5f598c8951ae 100644 (file)
@@ -481,7 +481,6 @@ char *mktemp(char *); /* No standard include */
 #include <netinet/ip.h>
 #define SIGNAL_CAST (void (*)())
 #define USE_DIRECT
-#define REPLACE_INNETGR
 #endif 
 
 
@@ -548,6 +547,32 @@ char *mktemp(char *); /* No standard include */
 #define USE_DIRECT
 #endif
 
+#ifdef SEQUENT_PTX4
+#include <string.h>
+#include <sys/dir.h>
+#include <dirent.h>
+#include <sys/statfs.h>
+#include <sys/statvfs.h>
+#include <sys/vfs.h>
+#include <fcntl.h>
+#include <sys/sockio.h>
+#include <netinet/tcp.h>
+#include <stropts.h>
+#include <termios.h>
+#define SYSV
+#define USE_WAITPID
+#define SIGNAL_CAST (void (*)(int))
+#define USE_STATVFS
+#define USE_GETCWD
+#ifndef seteuid
+#define seteuid(uid) setreuid(-1,uid)
+#endif
+#ifndef setegid
+#define setegid(gid) setregid(-1,gid)
+#endif
+#endif
+
+
 #ifdef NEXT2
 #include <sys/types.h>
 #include <strings.h>
@@ -734,7 +759,6 @@ char *strdup (char *);
 #endif /* DNIX */
 
 #ifdef CONVEX
-#define SIGNAL_CAST (void (*)(int))
 #include <netinet/tcp.h>
 #include <arpa/inet.h>
 #include <dirent.h>