00001
00002
00003
00004
00005
00006 #ifndef __J2K__NET__INCLUDE_HPP__
00007 #define __J2K__NET__INCLUDE_HPP__
00008
00009
00010 #ifdef __GNUC__
00011 #include <sys/types.h>
00012 #include <sys/socket.h>
00013 #include <netdb.h>
00014 #include <netinet/in.h>
00015 #include <netinet/tcp.h>
00016 #include <arpa/inet.h>
00017 #include <unistd.h>
00018
00019
00020
00021 #elif defined( _WIN32 )
00022
00023
00024
00025
00026
00027 #else // MacOS or other ?
00028
00029 #endif
00030
00031
00032 #include <errno.h>
00033
00034
00035
00036 #include <j2k/Fred/Standard.hpp>
00037
00038
00039 #ifdef USE_JSTRING
00040 #include <j2k/Fred/String/String.hpp>
00041 #endif
00042
00043 #if defined(__sun) || defined(__SUN__)
00044
00045 #else
00046
00047 #ifndef __socklen_t_defined
00048
00049 #define __socklen_t_defined
00050 #endif
00051
00052 #endif
00053
00054 #endif //__J2K__NET__INCLUDE_HPP__