diff options
author | Daniel Stone <daniel@fooishbar.org> | 2005-07-23 02:53:32 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2005-07-23 02:53:32 +0000 |
commit | 74a3f7f77830e4417a4bc4145114030dfaef6f4e (patch) | |
tree | 9c501acf3a9bcee5210bf954fedac44466a24f12 /Xos.h | |
parent | f97e34e65e403140dde00d260be0fd7f853ac8f0 (diff) |
Remove all _XOPEN_SOURCE definitions from Xos.h, as Xpoll.h.in now deals
with this by using which of fds_bits or __fds_bits we have.
Diffstat (limited to 'Xos.h')
-rw-r--r-- | Xos.h | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -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 */ |