Commit 31ffc141 by Ehsan Akhgari

Fix the build on Emscripten

struct timeval is used in this file, which requires <sys/time.h> to be
included.
parent 38691ffc
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
# include <sys/types.h> # include <sys/types.h>
# include <sys/socket.h> # include <sys/socket.h>
# include <sys/select.h> # include <sys/select.h>
# include <sys/time.h>
# include <netdb.h> # include <netdb.h>
#else #else
# define _WIN32_WINNT 0x0501 # define _WIN32_WINNT 0x0501
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment