Rudiments
filedescriptorincludes.h
1// Copyright (c) 1999-2018 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/input.h>
8#include <rudiments/output.h>
9#include <rudiments/socketlayer.h>
10#include <rudiments/resultcodes.h>
11
12#ifdef RUDIMENTS_HAVE_SYS_TYPES_H
13 #include <sys/types.h>
14#endif
15
16#ifdef RUDIMENTS_HAVE_SYS_SOCKET_H
17 // IRIX needs _XOPEN_SOURCE but OpenBSD can't
18 // find select() if it's still defined later
19 #ifndef _XOPEN_SOURCE
20 #define _XOPEN_SOURCE
21 #define UN_XOPEN_SOURCE
22 #endif
23 #include <sys/socket.h>
24 #ifdef UN_XOPEN_SOURCE
25 #undef _XOPEN_SOURCE
26 #endif
27#endif
28
29#ifdef RUDIMENTS_HAVE_STDARG_H
30 #include <stdarg.h>
31#endif
32
Definition avltree.h:11