/* -*-C-*-
-$Id: ux.c,v 1.11 1993/02/18 05:15:19 gjr Exp $
+$Id: ux.c,v 1.12 1993/10/27 22:16:43 gjr Exp $
Copyright (c) 1990-1993 Massachusetts Institute of Technology
#endif /* _POSIX */
\f
-#ifndef _POSIX
+#ifndef HAVE_SIGSET_OPS
int
DEFUN (UX_sigemptyset, (set), sigset_t * set)
/* -*-C-*-
-$Id: ux.h,v 1.52 1993/09/09 18:19:58 gjr Exp $
+$Id: ux.h,v 1.53 1993/10/27 22:17:55 gjr Exp $
Copyright (c) 1988-1993 Massachusetts Institute of Technology
/* These seem to be missing from versions of unistd.h */
-#if !(defined(_HPUX) || defined(sonyrisc))
+#if !(defined(_HPUX) || defined(sonyrisc) || defined(_SUNOS4))
/* As specified by OSF/1 Programmer's reference: */
extern int EXFUN (ioctl, (int, unsigned long, ...));
#endif
\f
#ifdef _POSIX
+#define HAVE_SIGSET_OPS
+
#ifdef EMULATE_FPATHCONF
/* These values match HP-UX, and the index in the table in the
#else /* not _POSIX */
+#ifdef _SUNOS4
+#define HAVE_SIGSET_OPS
+#endif
+
#define UX_PC_VDISABLE(fildes) '\377'
#ifdef OPEN_MAX
/* -*-C-*-
-$Id: uxio.c,v 1.31 1993/09/09 23:03:19 cph Exp $
+$Id: uxio.c,v 1.32 1993/10/27 22:18:36 gjr Exp $
Copyright (c) 1990-1993 Massachusetts Institute of Technology
\f
/* select(2) system call */
-#if defined(_HPUX) && (_HPUX_VERSION >= 80)
+#if (defined(_HPUX) && (_HPUX_VERSION >= 80)) || defined(_SUNOS4)
#define SELECT_DECLARED
#endif
/* -*-C-*-
-$Id: uxsock.c,v 1.12 1993/09/09 18:21:59 gjr Exp $
+$Id: uxsock.c,v 1.13 1993/10/27 22:19:14 gjr Exp $
Copyright (c) 1990-1993 Massachusetts Institute of Technology
#include "prims.h"
#include "limits.h"
+#ifndef _SUNOS4
extern struct servent * EXFUN (getservbyname, (CONST char *, CONST char *));
+#endif
extern struct hostent * EXFUN (gethostbyname, (CONST char *));
\f
Tchannel