diff options
| author | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2015-11-16 19:04:04 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2015-11-16 19:04:04 -0800 |
| commit | 0f5fb48a0ba70ced52aa69ca7ff00824cf8fb829 (patch) | |
| tree | 3101ec3e9ccf5796b372e3e8ef95961377026325 /osdep | |
| parent | dc8edea0c62a39b147c12a037f42df3cabc232c4 (diff) | |
| download | infinitytier-0f5fb48a0ba70ced52aa69ca7ff00824cf8fb829.tar.gz infinitytier-0f5fb48a0ba70ced52aa69ca7ff00824cf8fb829.zip | |
Turns out it wasn't hard to add miniupnpc to the VS2012 project and just have it build with the rest of the code.
Diffstat (limited to 'osdep')
| -rw-r--r-- | osdep/UPNPClient.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/osdep/UPNPClient.cpp b/osdep/UPNPClient.cpp index 3193f507..b7c7e768 100644 --- a/osdep/UPNPClient.cpp +++ b/osdep/UPNPClient.cpp @@ -46,8 +46,8 @@ #endif #endif -#include "../ext/bin/miniupnpc/include/miniupnpc/miniupnpc.h" -#include "../ext/bin/miniupnpc/include/miniupnpc/upnpcommands.h" +#include "../ext/miniupnpc/miniupnpc.h" +#include "../ext/miniupnpc/upnpcommands.h" namespace ZeroTier { @@ -81,7 +81,7 @@ public: while (run) { { int upnpError = 0; - UPNPDev *devlist = upnpDiscover(2000,(const char *)0,(const char *)0,0,0,&upnpError); + UPNPDev *devlist = upnpDiscover(2000,(const char *)0,(const char *)0,0,0,0,&upnpError); if (devlist) { #ifdef ZT_UPNP_TRACE { |
