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/security.h>
8 #include <rudiments/resultcodes.h>
9
10 #ifdef RUDIMENTS_HAVE_SYS_TYPES_H
11 #include <sys/types.h>
12 #endif
13
14 #ifdef RUDIMENTS_HAVE_SYS_SOCKET_H
15 // IRIX appears to need this but OpenBSD can't
16 // find select() if it's still defined later
17 #ifndef _XOPEN_SOURCE
18 #define _XOPEN_SOURCE
19 #define UN_XOPEN_SOURCE
20 #endif
21 #include <sys/socket.h>
22 #ifdef UN_XOPEN_SOURCE
23 #undef _XOPEN_SOURCE
24 #endif
25 #endif
26
27 #ifdef RUDIMENTS_HAVE_STDARG_H
28 #include <stdarg.h>
29 #endif