... / ...
Commit | Line | Data |
| 1 | #ifndef COMPAT_H |
| 2 | #define COMPAT_H |
| 3 | |
| 4 | #if defined(WIN32) |
| 5 | #include <windows.h> |
| 6 | #include <ws2tcpip.h> |
| 7 | #else |
| 8 | #include <sys/types.h> |
| 9 | #include <sys/socket.h> |
| 10 | #include <sys/ioctl.h> |
| 11 | #include <sys/time.h> |
| 12 | #include <netinet/in.h> |
| 13 | #include <arpa/inet.h> |
| 14 | #include <unistd.h> |
| 15 | #include <errno.h> |
| 16 | #include <netdb.h> |
| 17 | #include <pthread.h> |
| 18 | #endif |
| 19 | |
| 20 | #include "memalign.h" |
| 21 | #include "sockets.h" |
| 22 | #include "threads.h" |
| 23 | |
| 24 | #endif |