#ifndef _H_SYSTEM #define _H_SYSTEM // header chaos #include "config.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #if HAVE_UNISTD_H # define __USE_XOPEN # include #endif #if HAVE_STRING_H # include #endif #if HAVE_STRINGS_H # include #endif #ifndef HAVE_MEMCPY # define memcpy(d, s, n) bcopy ((s), (d), (n)) # define memmove(d, s, n) bcopy ((s), (d), (n)) #endif #if HAVE_CRYPT_H # include #endif #if TIME_WITH_SYS_TIME # include # include #else # if HAVE_SYS_TIME_H # include # else # include # endif #endif #include #include #if HAVE_FCNTL_H # include #endif #include #include #if HAVE_NETINET_IN_SYSTM_H # include #endif #include #include #if HAVE_NETINET_TCP_H # include #endif #if HAVE_PTHREAD_H # if HAVE_LIBPTHREAD # define THREADED 1 # include # endif #endif typedef const char * c_char; #define EOL (c_char)0 #endif