aboutsummaryrefslogtreecommitdiff
path: root/ports/poco/fix_foundation_link.patch
blob: c8830ed4f1df51c7583c264ff8f618f160c3574f (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
diff --git a/Foundation/src/Environment_WIN32.cpp b/Foundation/src/Environment_WIN32.cpp
index 62845fa..edcf6fe 100644
--- a/Foundation/src/Environment_WIN32.cpp
+++ b/Foundation/src/Environment_WIN32.cpp
@@ -22,6 +22,7 @@
 #include <ws2ipdef.h>
 #include <iphlpapi.h>
 
+#pragma comment(lib, "IPHLPAPI.lib")
 
 namespace Poco {
 
diff --git a/Foundation/src/Environment_WINCE.cpp b/Foundation/src/Environment_WINCE.cpp
index afa59b6..c43767b 100644
--- a/Foundation/src/Environment_WINCE.cpp
+++ b/Foundation/src/Environment_WINCE.cpp
@@ -23,6 +23,7 @@
 #include <windows.h>
 #include <iphlpapi.h>
 
+#pragma comment(lib, "IPHLPAPI.lib")
 
 namespace Poco {