#endif
#endif
-#if USE_MMAP
+#if defined(USE_MMAP) || defined(FAST_SHARE_MODES)
#include <sys/mman.h>
#endif
#define USE_SETSID
#define HAVE_BZERO
#define HAVE_MEMMOVE
+#define USE_SIGPROCMASK
+#if 0
+/* SETFS disabled until we can check on some bug reports */
#if _LINUX_C_LIB_VERSION_MAJOR >= 5
#define USE_SETFS
#endif
+#endif
#ifdef SHADOW_PWD
#ifndef crypt
#define crypt pw_encrypt
#endif
#define REPLACE_GETPASS
#define BSD_TERMIO
+#define USE_SIGPROCMASK
#endif
#define USE_GETCWD
#define USE_SETSID
#define REPLACE_GETPASS
+#define USE_SIGPROCMASK
#endif
#include <netinet/tcp.h>
#define SYSV
#define USE_WAITPID
+#define USE_SIGBLOCK
#define SIGNAL_CAST (void (*)())
#define DEFAULT_PRINTING PRINT_AIX
/* we undef this because sys/param.h is broken in aix. uggh. */
#define NO_EID
#define STATFS4
#define USE_DIRECT
+#ifdef PTX4
+#undef USE_DIRECT
+#endif
#endif
+
+
#ifdef SEQUENT_PTX4
#include <string.h>
#include <sys/dir.h>
#define mode_t int
#define GID_TYPE int
#define gid_t int
+#define pid_t int
#define SIGNAL_CAST (void (*)(int))
#define WAIT3_CAST1 (union wait *)
#define HAVE_GMTOFF
#endif
+#ifdef BOS
+#define SIGNAL_CAST (void (*)(int))
+#include <string.h>
+#include <sys/dir.h>
+#include <sys/select.h>
+#include <dirent.h>
+#include <fcntl.h>
+#include <signal.h>
+#include <sys/statfs.h>
+#include <sys/bsdioctl.h>
+#endif
+
+
+
/*******************************************************************
end of the platform specific sections
********************************************************************/