mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-19 15:30:17 +00:00
Fix the build on Emscripten
struct timeval is used in this file, which requires <sys/time.h> to be included.
This commit is contained in:
parent
38691ffc67
commit
31ffc141c3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user