From dbf7898ceab7e6b9e3ca975301b91dd290c23ffb Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Thu, 29 Mar 2018 17:39:19 +0200 Subject: [PATCH] Fix lws MinGW compilation Cherry picked 5b22276420032677841af9e9f3b0272d0dd467b8 from upstream. This is fixed upstream and will be included in the next release --- thirdparty/lws/ssl.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/thirdparty/lws/ssl.c b/thirdparty/lws/ssl.c index 755d06db415..4ff3088ab3c 100644 --- a/thirdparty/lws/ssl.c +++ b/thirdparty/lws/ssl.c @@ -20,11 +20,7 @@ */ #include "private-libwebsockets.h" - -/* workaround for mingw */ -#if !defined(ECONNABORTED) -#define ECONNABORTED 103 -#endif +#include int lws_alloc_vfs_file(struct lws_context *context, const char *filename, uint8_t **buf, lws_filepos_t *amount)