2 * Sockets are not standard.
3 * So hide uglyness in include file.
5 /* was: defined(SYS_CONVEXOS9) */
6 #if defined(HAVE__SYS_SYNC_QUEUE_H) && defined(HAVE__SYS_SYNC_SEMA_H)
7 # include "/sys/sync/queue.h"
8 # include "/sys/sync/sema.h"
11 /* was: (defined(SYS_SOLARIS) && !defined(bsd)) || defined(SYS_SUNOS4) */
12 /* was: defined(SYS_UNIXWARE1) */
13 #ifdef HAVE_SYS_SOCKIO_H
14 # include <sys/sockio.h>
17 /* was: #if defined(SYS_PTX) || defined(SYS_SINIXM) */
18 #ifdef HAVE_SYS_STREAM_H
19 # include <sys/stream.h>
21 #ifdef HAVE_SYS_STROPTS_H
22 # include <sys/stropts.h>
25 /* Was: #if defined(SYS_SVR4) */
26 #if defined(USE_STREAMS_DEVICE_FOR_IF_CONFIG)
27 # include <netinet/ip.h>
31 # undef SIOCGIFBRDADDR
32 # undef SIOCGIFNETMASK
33 # define SIOCGIFCONF IPIOC_GETIFCONF
34 # define SIOCGIFFLAGS IPIOC_GETIFFLAGS
35 # define SIOCGIFADDR IPIOC_GETIFADDR
36 # define SIOCGIFBRDADDR IPIOC_GETIFBRDADDR
37 # define SIOCGIFNETMASK IPIOC_GETIFNETMASK
38 #if 0 /* We don't need this now that sys/sockio.h is handled above */
39 # else /* USE_STREAMS_DEVICE_FOR_IF_CONFIG */
40 # include <sys/sockio.h>
42 # endif /* USE_STREAMS_DEVICE_FOR_IF_CONFIG */
43 /* was #endif SYS_SVR4 */
48 #endif /* HAVE_NET_IF_H */