Commit 0a4aebb097bbe7a940c0f73174b756027105d92f

Vicent Martí 2012-02-02T04:35:58

Merge pull request #548 from ehsan/build_fix Fix the build on Emscripten

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/netops.c b/src/netops.c
index 73375d7..0f85eae 100644
--- a/src/netops.c
+++ b/src/netops.c
@@ -8,6 +8,7 @@
 #	include <sys/types.h>
 #	include <sys/socket.h>
 #	include <sys/select.h>
+#	include <sys/time.h>
 #	include <netdb.h>
 #else
 #	define _WIN32_WINNT 0x0501