From a5394f4e776702fac7316fc515b4684a40a7a6f5 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 20 Dec 2014 21:48:37 +0100 Subject: [PATCH] Add unistd.h for non-Win32, direct.h for Win32 (http_lib.c) --- http_lib.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/http_lib.c b/http_lib.c index 454ece40e2..b8941dc456 100644 --- a/http_lib.c +++ b/http_lib.c @@ -40,6 +40,12 @@ #include #include #include + +#ifdef _WIN32 +#include +#else +#include +#endif #include "netplay_compat.h" #include "http_lib.h"