Skip to content

Commit 243aebf

Browse files
committed
Add "sys/time.h" to Socket.h to fix build issues on alpine linux.
1 parent 5be881b commit 243aebf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/socket/Socket.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#elif __linux__
1616

1717
#include <sys/socket.h>
18+
#include <sys/time.h>
1819

1920
// Typedef to match the windows typedef since they are different underlying types
2021
typedef int SOCKET;

0 commit comments

Comments
 (0)