mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 02:42:20 +00:00
Fix compiling on Linux/GNU systems with miniupnpc
This commit is contained in:
parent
144cbd5385
commit
9c3ac6c86f
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue