summaryrefslogtreecommitdiff
path: root/comms/flmsg/files/patch-src_utils_mongoose.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/flmsg/files/patch-src_utils_mongoose.c')
-rw-r--r--comms/flmsg/files/patch-src_utils_mongoose.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/flmsg/files/patch-src_utils_mongoose.c b/comms/flmsg/files/patch-src_utils_mongoose.c
new file mode 100644
index 000000000000..10c3aa52785c
--- /dev/null
+++ b/comms/flmsg/files/patch-src_utils_mongoose.c
@@ -0,0 +1,11 @@
+--- src/utils/mongoose.c.orig 2020-02-08 03:34:10 UTC
++++ src/utils/mongoose.c
+@@ -15,6 +15,8 @@
+ // Alternatively, you can license this library under a commercial
+ // license, as set out in <http://cesanta.com/>.
+
++#include <sys/socket.h>
++
+ #undef UNICODE // Use ANSI WinAPI functions
+ #undef _UNICODE // Use multibyte encoding on Windows
+ #define _MBCS // Use multibyte encoding on Windows