summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2005-07-23 02:53:32 +0000
committerDaniel Stone <daniel@fooishbar.org>2005-07-23 02:53:32 +0000
commit74a3f7f77830e4417a4bc4145114030dfaef6f4e (patch)
tree9c501acf3a9bcee5210bf954fedac44466a24f12
parentf97e34e65e403140dde00d260be0fd7f853ac8f0 (diff)
Remove all _XOPEN_SOURCE definitions from Xos.h, as Xpoll.h.in now dealsXORG-6_8_99_16
with this by using which of fds_bits or __fds_bits we have.
-rw-r--r--Xos.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/Xos.h b/Xos.h
index cd41bdd..e051016 100644
--- a/Xos.h
+++ b/Xos.h
@@ -57,18 +57,7 @@ in this Software without prior written authorization from The Open Group.
#include <sys/types.h>
#define _POSIX_SOURCE
#else
-/*
- * Make sure _XOPEN_SOURCE is defined before including sys/select.h
- * so that we get fds_bits in fd_set instead of __fds_bits
- * EXCEPT on SVR4, where it REMOVES required typedefs!
- */
-# if !defined(_XOPEN_SOURCE) && !defined(SVR4)
-# define _XOPEN_SOURCE
-# include <sys/types.h>
-# undef _XOPEN_SOURCE
-# else
-# include <sys/types.h>
-# endif
+# include <sys/types.h>
#endif
#endif /* USG */