| # | Line 8 | Line 8 | |
|---|---|---|
| 8 | extern "C" { | |
| 9 | #endif | |
| 10 | ||
| 11 | – | #include "copyright.h" |
| 12 | – | |
| 11 | #include <sys/types.h> | |
| 12 | < | #include <sys/time.h> |
| 12 | > | #ifdef _WIN32 |
| 13 | > | /*#include <winsock2.h>*/ |
| 14 | > | #else |
| 15 | > | #include <sys/time.h> |
| 16 | > | #endif |
| 17 | #ifdef INCL_SEL_H | |
| 18 | #include <sys/select.h> | |
| 19 | #endif | |
| 20 | ||
| 21 | #ifndef FD_SETSIZE | |
| 22 | < | #include <sys/param.h> |
| 22 | > | #ifdef _WIN32 |
| 23 | > | #else |
| 24 | > | #include <sys/param.h> |
| 25 | > | #endif |
| 26 | #define FD_SETSIZE NOFILE /* maximum # select file descriptors */ | |
| 27 | #endif | |
| 28 | #ifndef FD_SET | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |