net.h: do not include sys/select.h in Windows builds

Windows apparently has no select.h header, therefore it is not
included for Windows builds.
This commit is contained in:
Olaf Bergmann committed 2021-09-01 09:50:45 +02:00
1 parent e984f38b8f
commit ca44071b8a
1 file changed
+1 -1
+1 -1
View File
@@ -14,8 +14,8 @@
#include <stdlib.h>
#include <string.h>
#include <sys/select.h>
#ifndef _WIN32
#include <sys/select.h>
#include <sys/time.h>
#endif
#include <time.h>