lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | |
| 2 | #ifndef HEADERS_H |
| 3 | #define HEADERS_H |
| 4 | |
| 5 | //#include "config.h" |
| 6 | |
| 7 | //#define WIN32_LEAN_AND_MEAN /* exclude unnecesary headers */ |
| 8 | /* |
| 9 | #include <windows.h> |
| 10 | #include <winsock2.h> |
| 11 | //#include <ws2tcpip.h> |
| 12 | #include <windows.h> |
| 13 | #pragma comment(lib,"ws2_32.lib") |
| 14 | |
| 15 | #include <stdio.h> |
| 16 | #include <stdlib.h> |
| 17 | #include <process.h> |
| 18 | #include <tchar.h> |
| 19 | |
| 20 | #include <stdlib.h> |
| 21 | #include <stdio.h> |
| 22 | #include <assert.h> |
| 23 | #include <ctype.h> |
| 24 | #include <errno.h> |
| 25 | #include <string.h> |
| 26 | #include <time.h> |
| 27 | #include <math.h> |
| 28 | |
| 29 | #include <pthread.h> |
| 30 | #pragma comment(lib, "pthreadVC2.lib") |
| 31 | */ |
| 32 | |
| 33 | #include <stdio.h> |
| 34 | #include <stdlib.h> |
| 35 | #include <string.h> |
| 36 | #include <getopt.h> |
| 37 | #include <errno.h> |
| 38 | #include <unistd.h> |
| 39 | #include <assert.h> |
| 40 | #include <fcntl.h> |
| 41 | #include <sys/socket.h> |
| 42 | #include <sys/types.h> |
| 43 | #include <netinet/in.h> |
| 44 | #include <arpa/inet.h> |
| 45 | #include <netdb.h> |
| 46 | #include <pthread.h> |
| 47 | #ifdef HAVE_STDINT_H |
| 48 | #include <stdint.h> |
| 49 | #endif |
| 50 | #include <netinet/tcp.h> |
| 51 | #include <sys/time.h> |
| 52 | #include <sys/resource.h> |
| 53 | #include <sched.h> |
| 54 | #include <setjmp.h> |
| 55 | #include <signal.h> |
| 56 | |
| 57 | #define SOCKET_ERROR -1 |
| 58 | #define INVALID_SOCKET -1 |
| 59 | |
| 60 | #endif /* HEADERS_H */ |