Add sys/time.h for gettimeofday.
Should allow it it compile with MUSL libc. Based on patch from doughdemon via github.
This commit is contained in:
parent
39736be06c
commit
c6f5f01651
|
@ -150,6 +150,9 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/socket.h>
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#include <netinet/in.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue