Skip to content

Commit 31ffc14

Browse files
committed
Fix the build on Emscripten
struct timeval is used in this file, which requires <sys/time.h> to be included.
1 parent 38691ff commit 31ffc14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/netops.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# include <sys/types.h>
99
# include <sys/socket.h>
1010
# include <sys/select.h>
11+
# include <sys/time.h>
1112
# include <netdb.h>
1213
#else
1314
# define _WIN32_WINNT 0x0501

0 commit comments

Comments
 (0)