Fix compiling on Linux/GNU systems with miniupnpc

This commit is contained in:
Alam Ed Arias 2023-12-30 18:46:20 -05:00
parent 144cbd5385
commit 9c3ac6c86f

View file

@ -117,10 +117,16 @@
} mysockaddr_t;
#ifdef HAVE_MINIUPNPC
#ifdef MINIUPNP_STATICLIB
#include "miniwget.h"
#include "miniupnpc.h"
#include "upnpcommands.h"
static UINT8 UPNP_support = TRUE;
#else
#include "miniupnpc/miniwget.h"
#include "miniupnpc/miniupnpc.h"
#include "miniupnpc/upnpcommands.h"
#endif
static boolean UPNP_support = true;
#endif // HAVE_MINIUPNC
#endif // !NONET