Fix lws MinGW compilation
Cherry picked 5b22276420032677841af9e9f3b0272d0dd467b8 from upstream. This is fixed upstream and will be included in the next release
This commit is contained in:
parent
262cb262eb
commit
dbf7898cea
1 changed files with 1 additions and 5 deletions
6
thirdparty/lws/ssl.c
vendored
6
thirdparty/lws/ssl.c
vendored
|
@ -20,11 +20,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "private-libwebsockets.h"
|
#include "private-libwebsockets.h"
|
||||||
|
#include <errno.h>
|
||||||
/* workaround for mingw */
|
|
||||||
#if !defined(ECONNABORTED)
|
|
||||||
#define ECONNABORTED 103
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int lws_alloc_vfs_file(struct lws_context *context, const char *filename, uint8_t **buf,
|
int lws_alloc_vfs_file(struct lws_context *context, const char *filename, uint8_t **buf,
|
||||||
lws_filepos_t *amount)
|
lws_filepos_t *amount)
|
||||||
|
|
Loading…
Reference in a new issue