/* * Sockets are not standard. * So hide uglyness in include file. */ #if defined(SYS_CONVEXOS9) #include "/sys/sync/queue.h" #include "/sys/sync/sema.h" #endif #if defined(SYS_AIX) #include #include #endif #if (defined(SOLARIS) && !defined(bsd)) || defined(SYS_SUNOS4) #include #endif #if defined(SYS_UNIXWARE1) #include #endif #if defined(SYS_PTX) || defined(SYS_SINIXM) #include #include #endif #if defined(SYS_SVR4) #if !defined(USE_STREAMS_DEVICE_FOR_IF_CONFIG) #include #else /* USE_STREAMS_DEVICE_FOR_IF_CONFIG */ #include #undef SIOCGIFCONF #undef SIOCGIFFLAGS #undef SIOCGIFADDR #undef SIOCGIFBRDADDR #undef SIOCGIFNETMASK #define SIOCGIFCONF IPIOC_GETIFCONF #define SIOCGIFFLAGS IPIOC_GETIFFLAGS #define SIOCGIFADDR IPIOC_GETIFADDR #define SIOCGIFBRDADDR IPIOC_GETIFBRDADDR #define SIOCGIFNETMASK IPIOC_GETIFNETMASK #endif /* USE_STREAMS_DEVICE_FOR_IF_CONFIG */ #endif /* SYS_SVR4 */ #include