summaryrefslogtreecommitdiffstats
path: root/src/poco-3-winsock2.patch
blob: 753d01cb643af7753f46750e4a97fbacb3a75ecb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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