Made it so that sys/select.h is only included if the operating system is not Windows

This commit is contained in:
realityfabric 2015-12-13 08:27:32 -08:00
parent 4b38b66937
commit e003f561e3

View File

@ -32,7 +32,9 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <time.h> #include <time.h>
#ifndef WIN32
#include <sys/select.h> #include <sys/select.h>
#endif
/*** /***
* #define UDP_ENABLE_BROADCAST 1 * #define UDP_ENABLE_BROADCAST 1