/* ** */ #include "term.h" #ifdef I_ERRNO #include #endif #ifdef I_SYS #include #include #ifdef _AIX #include #endif #ifdef SVR4 int gettimeofday(struct timeval *); int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); #endif #endif #ifdef I_IOCTL #include #include #endif #ifdef I_STRING #include #endif #ifdef I_SOCKET #include #include #include #include #include #ifdef SYSV #include #endif #ifdef SVR4 int accept(int, struct sockaddr *, int *); int bind(int, struct sockaddr *, int); int connect(int, struct sockaddr *, int); int listen(int, int); int socket(int, int, int); int socketpair(int, int, int, int[]); #endif #endif #ifdef I_GETOPT #if defined(linux) #include #elif defined(__hpux) || defined(__386BSD__) || defined(___386BSD___) || defined(SVR4) #ifdef __hpux__ #include extern char *optarg; extern int optind, opterr; #endif /* Do nothing -- declared in stdlib.h */ #else int getopt(int argc, char *argv[], char *); extern char *optarg; extern int optind, opterr; #endif #endif #ifdef I_TTY # ifdef USE_TERMIOS # include # else # include # endif #endif #include #include #if !defined(NeXT) #include #endif