From d286e990f09548a991ce5a95342fe05af19632db Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 25 Oct 2017 07:32:18 +0800 Subject: [PATCH] windows: fix missing declatations for open etc Due to windows needing nonstandard include io.h for standard apis... --- lib/libwebsockets.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h index f78560b6..bbaef73a 100644 --- a/lib/libwebsockets.h +++ b/lib/libwebsockets.h @@ -1,7 +1,7 @@ /* * libwebsockets - small server side websockets and web server implementation * - * Copyright (C) 2010-2016 Andy Green + * Copyright (C) 2010-2017 Andy Green * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -62,6 +62,7 @@ typedef unsigned long long lws_intptr_t; #include #include #include +#include #ifndef _WIN32_WCE #include #else