diff --git a/osdep/PortMapper.cpp b/osdep/PortMapper.cpp index cd48bf5dd..31d23dc35 100644 --- a/osdep/PortMapper.cpp +++ b/osdep/PortMapper.cpp @@ -41,8 +41,13 @@ #endif #endif +#ifdef ZT_USE_SYSTEM_MINIUPNPC +#include +#include +#else #include "../ext/miniupnpc/miniupnpc.h" #include "../ext/miniupnpc/upnpcommands.h" +#endif #ifdef ZT_USE_SYSTEM_LIBNATPMP #include