Rudiments: /home/dmuse/src/rudiments/include/rudiments/private/filedescriptorincludes.h Source File

Rudiments

- Main Page
- Classes

filedescriptorincludes.h
1 // Copyright (c) 2002 David Muse
2 // See the COPYING file for more information.
3
4 #include <rudiments/private/dll.h>
5 #include <rudiments/private/inttypes.h>
6
7 #include <rudiments/resultcodes.h>
8
9 #include <sys/types.h>
10
11 #ifdef RUDIMENTS_HAVE_SYS_SOCKET_H
12 // IRIX appears to need this but OpenBSD can't
13 // find select() if it's still defined later
14 #ifndef _XOPEN_SOURCE
15 #define _XOPEN_SOURCE
16 #define UN_XOPEN_SOURCE
17 #endif
18 #include <sys/socket.h>
19 #ifdef UN_XOPEN_SOURCE
20 #undef _XOPEN_SOURCE
21 #endif
22 #endif
23
24 #ifdef RUDIMENTS_HAVE_STDARG_H
25 #include <stdarg.h>
26 #endif