aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnthony J. Bentley <anthony@anjbe.name>2017-10-09 03:41:17 -0600
committerAnthony J. Bentley <anthony@anjbe.name>2017-10-09 03:41:17 -0600
commitdf19b9340877b8e49cdc4728a62c64f5f93c811f (patch)
tree324b5ead25184481017e3eac270badcc1e42782b /src
parenta15c39546054d8ee608ec1c12e9e14be43dda783 (diff)
Include POSIX headers required for fd_set and INADDR_ANY.
Diffstat (limited to 'src')
-rw-r--r--src/libui_sdl/Platform.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libui_sdl/Platform.cpp b/src/libui_sdl/Platform.cpp
index 0b1e0a2..1d7438b 100644
--- a/src/libui_sdl/Platform.cpp
+++ b/src/libui_sdl/Platform.cpp
@@ -32,6 +32,8 @@
#else
#include <unistd.h>
#include <arpa/inet.h>
+ #include <netinet/in.h>
+ #include <sys/select.h>
#include <sys/socket.h>
#define socket_t int
#define sockaddr_t struct sockaddr