|  | 
 | #ifndef HEADERS_H | 
 | #define HEADERS_H | 
 |  | 
 | //#include "config.h" | 
 |  | 
 | //#define WIN32_LEAN_AND_MEAN /* exclude unnecesary headers */ | 
 | /* | 
 | #include <windows.h> | 
 | #include <winsock2.h> | 
 | //#include <ws2tcpip.h> | 
 | #include <windows.h> | 
 | #pragma comment(lib,"ws2_32.lib") | 
 |  | 
 | #include <stdio.h> | 
 | #include <stdlib.h> | 
 | #include <process.h> | 
 | #include <tchar.h> | 
 |  | 
 | #include <stdlib.h> | 
 | #include <stdio.h> | 
 | #include <assert.h> | 
 | #include <ctype.h> | 
 | #include <errno.h> | 
 | #include <string.h> | 
 | #include <time.h> | 
 | #include <math.h> | 
 |  | 
 | #include <pthread.h> | 
 | #pragma comment(lib, "pthreadVC2.lib") | 
 | */ | 
 |  | 
 | #include <stdio.h> | 
 | #include <stdlib.h> | 
 | #include <string.h> | 
 | #include <getopt.h> | 
 | #include <errno.h> | 
 | #include <unistd.h> | 
 | #include <assert.h> | 
 | #include <fcntl.h> | 
 | #include <sys/socket.h> | 
 | #include <sys/types.h> | 
 | #include <netinet/in.h> | 
 | #include <arpa/inet.h> | 
 | #include <netdb.h> | 
 | #include <pthread.h> | 
 | #ifdef HAVE_STDINT_H | 
 | #include <stdint.h> | 
 | #endif | 
 | #include <netinet/tcp.h> | 
 | #include <sys/time.h> | 
 | #include <sys/resource.h> | 
 | #include <sched.h> | 
 | #include <setjmp.h> | 
 | #include <signal.h> | 
 |  | 
 | #define SOCKET_ERROR   -1 | 
 | #define INVALID_SOCKET -1 | 
 |  | 
 | #endif /* HEADERS_H */ |