summaryrefslogtreecommitdiff
path: root/xc/include
diff options
context:
space:
mode:
authorrws <empty>1991-07-19 23:22:51 +0000
committerrws <empty>1991-07-19 23:22:51 +0000
commit1edad1494c5e998226453a9515c250f78da58223 (patch)
tree4eb49bd42045959e3adf9feeac9c84e43b4a2f47 /xc/include
parentad494b05d6aa4e36386a261c025a0d37eb46d0a4 (diff)
add USL support
Diffstat (limited to 'xc/include')
-rw-r--r--xc/include/Xos.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/xc/include/Xos.h b/xc/include/Xos.h
index 5cbde54aa..8d1a0b89f 100644
--- a/xc/include/Xos.h
+++ b/xc/include/Xos.h
@@ -1,5 +1,5 @@
/*
- * $XConsortium: Xos.h,v 1.44 91/05/13 20:48:30 rws Exp $
+ * $XConsortium: Xos.h,v 1.45 91/07/09 18:23:30 gildea Exp $
*
* Copyright 1987 by the Massachusetts Institute of Technology
*
@@ -77,6 +77,9 @@
*/
#ifdef X_NOT_POSIX
#include <fcntl.h>
+#ifdef USL
+#include <unistd.h>
+#endif /* USL */
#ifdef CRAY
#include <unistd.h>
#endif /* CRAY */
@@ -101,20 +104,24 @@
#ifdef SYSV
+#ifndef USL
#include <sys/time.h>
+#endif
#include <time.h>
#ifdef CRAY
#undef word
#endif /* CRAY */
-#if defined(USG) && !defined(CRAY)
+#if defined(USG) && !defined(CRAY) && !defined(MOTOROLA)
struct timeval {
long tv_sec;
long tv_usec;
};
+#ifndef USL_SHARELIB
struct timezone {
int tz_minuteswest;
int tz_dsttime;
};
+#endif /* USL_SHARELIB */
#endif /* USG */
#else /* not SYSV */