From df19b9340877b8e49cdc4728a62c64f5f93c811f Mon Sep 17 00:00:00 2001
From: "Anthony J. Bentley" <anthony@anjbe.name>
Date: Mon, 9 Oct 2017 03:41:17 -0600
Subject: Include POSIX headers required for fd_set and INADDR_ANY.

---
 src/libui_sdl/Platform.cpp | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src')

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
-- 
cgit v1.2.3