diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-06-21 09:40:53 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-06-21 09:40:53 -0700 |
commit | 6c4a444f290f6f042ca926cc9c984ce218cf82ee (patch) | |
tree | bb3840f889c3c343f4ad0059a8dda3b75377d4a5 | |
parent | 330c80f3f5958eb99b44632563dbe4dc0522120f (diff) | |
download | infinitytier-6c4a444f290f6f042ca926cc9c984ce218cf82ee.tar.gz infinitytier-6c4a444f290f6f042ca926cc9c984ce218cf82ee.zip |
GitHub issue #339
-rw-r--r-- | osdep/PortMapper.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/osdep/PortMapper.cpp b/osdep/PortMapper.cpp index cd48bf5d..31d23dc3 100644 --- a/osdep/PortMapper.cpp +++ b/osdep/PortMapper.cpp @@ -41,8 +41,13 @@ #endif #endif +#ifdef ZT_USE_SYSTEM_MINIUPNPC +#include <miniupnpc/miniupnpc.h> +#include <miniupnpc/upnpcommands.h> +#else #include "../ext/miniupnpc/miniupnpc.h" #include "../ext/miniupnpc/upnpcommands.h" +#endif #ifdef ZT_USE_SYSTEM_LIBNATPMP #include <natpmp.h> |