Skip to content

Commit

Permalink
Add "sys/time.h" to Socket.h to fix build issues on alpine linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilemonn committed Jul 8, 2024
1 parent 5be881b commit 243aebf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/socket/Socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#elif __linux__

#include <sys/socket.h>
#include <sys/time.h>

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

0 comments on commit 243aebf

Please sign in to comment.