Skip to content
Snippets Groups Projects
Commit 9c3ac6c8 authored by Alam Ed Arias's avatar Alam Ed Arias
Browse files

Fix compiling on Linux/GNU systems with miniupnpc

parent 144cbd53
Branches
Tags
1 merge request!2251made UPnP port mapping enabled by default
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment