diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2018-03-29 17:39:19 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2018-04-03 19:25:24 +0200 |
commit | dbf7898ceab7e6b9e3ca975301b91dd290c23ffb (patch) | |
tree | 4be678269a239ecb8a13362787acac8004eeed85 /thirdparty | |
parent | 262cb262eb6c10c808dbbd85dd9103ab0f99c32b (diff) |
Fix lws MinGW compilation
Cherry picked 5b22276420032677841af9e9f3b0272d0dd467b8 from upstream.
This is fixed upstream and will be included in the next release
Diffstat (limited to 'thirdparty')
-rw-r--r-- | thirdparty/lws/ssl.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/thirdparty/lws/ssl.c b/thirdparty/lws/ssl.c index 755d06db41..4ff3088ab3 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 <errno.h> int lws_alloc_vfs_file(struct lws_context *context, const char *filename, uint8_t **buf, lws_filepos_t *amount) |