1 /* 2 * Sockets are not standard. 3 * So hide uglyness in include file. 4 */ 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" 9 #endif 10 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> 15 #endif 16 17 /* was: #if defined(SYS_PTX) || defined(SYS_SINIXM) */ 18 #ifdef HAVE_SYS_STREAM_H 19 # include <sys/stream.h> 20 #endif 21 #ifdef HAVE_SYS_STROPTS_H 22 # include <sys/stropts.h> 23 #endif 24 25 /* Was: #if defined(SYS_SVR4) */ 26 #if defined(USE_STREAMS_DEVICE_FOR_IF_CONFIG) 27 # include <netinet/ip.h> 28 # undef SIOCGIFCONF 29 # undef SIOCGIFFLAGS 30 # undef SIOCGIFADDR 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> 41 #endif 42 # endif /* USE_STREAMS_DEVICE_FOR_IF_CONFIG */ 43 /* was #endif SYS_SVR4 */ 44 45 46 #ifdef HAVE_NET_IF_H 47 # include <net/if.h> 48 #endif /* HAVE_NET_IF_H */ 49