summaryrefslogtreecommitdiffstats
path: root/src/poco-3-winsock2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/poco-3-winsock2.patch')
-rw-r--r--src/poco-3-winsock2.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/poco-3-winsock2.patch b/src/poco-3-winsock2.patch
new file mode 100644
index 0000000..753d01c
--- /dev/null
+++ b/src/poco-3-winsock2.patch
@@ -0,0 +1,25 @@
+This file is part of MXE.
+See index.html for further information.
+
+From 25b2fc9af331fe6add75fb108bec590f8d467b20 Mon Sep 17 00:00:00 2001
+From: Timothy Gu <timothygu99@gmail.com>
+Date: Sun, 16 Nov 2014 09:14:22 -0800
+Subject: [PATCH] Environment: Fix winsock2.h include
+
+Signed-off-by: Timothy Gu <timothygu99@gmail.com>
+
+diff --git a/Foundation/src/Environment_WIN32.cpp b/Foundation/src/Environment_WIN32.cpp
+index 9443c32..e251da1 100644
+--- a/Foundation/src/Environment_WIN32.cpp
++++ b/Foundation/src/Environment_WIN32.cpp
+@@ -39,6 +39,7 @@
+ #include <sstream>
+ #include <cstring>
+ #include "Poco/UnWindows.h"
++#include <winsock2.h>
+ #include <iphlpapi.h>
+
+
+--
+1.9.1
+