Merge pull request #1528 from StephenCWills/android-miniupnpc

[Android] Fix include for miniupnpc
This commit is contained in:
Grant Limberg 2022-01-04 16:56:05 -08:00 committed by GitHub
commit e556a2ee23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,14 +47,9 @@
#include <miniupnpc/miniupnpc.h> #include <miniupnpc/miniupnpc.h>
#include <miniupnpc/upnpcommands.h> #include <miniupnpc/upnpcommands.h>
#else #else
#ifdef __ANDROID__
#include "miniupnpc.h"
#include "upnpcommands.h"
#else
#include "../ext/miniupnpc/miniupnpc.h" #include "../ext/miniupnpc/miniupnpc.h"
#include "../ext/miniupnpc/upnpcommands.h" #include "../ext/miniupnpc/upnpcommands.h"
#endif #endif
#endif
#ifdef ZT_USE_SYSTEM_NATPMP #ifdef ZT_USE_SYSTEM_NATPMP
#include <natpmp.h> #include <natpmp.h>