summaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-03-29 17:39:19 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-04-03 19:25:24 +0200
commitdbf7898ceab7e6b9e3ca975301b91dd290c23ffb (patch)
tree4be678269a239ecb8a13362787acac8004eeed85 /thirdparty
parent262cb262eb6c10c808dbbd85dd9103ab0f99c32b (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.c6
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)