Logan oos Even
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
8 additions and
0 deletions
-
include/n2n_port_mapping.h
|
@ -4,9 +4,17 @@ |
|
|
#include <stdint.h> |
|
|
#include <stdint.h> |
|
|
|
|
|
|
|
|
#ifdef HAVE_MINIUPNP |
|
|
#ifdef HAVE_MINIUPNP |
|
|
|
|
|
#ifdef CMAKE_BUILD |
|
|
|
|
|
// CMAKE uses static linked lib as submodule which requires different includes than
|
|
|
|
|
|
// the dynamically linked, intalled library in case of plain make
|
|
|
|
|
|
#include <miniupnpc.h> |
|
|
|
|
|
#include <upnpcommands.h> |
|
|
|
|
|
#include <upnperrors.h> |
|
|
|
|
|
#else |
|
|
#include <miniupnpc/miniupnpc.h> |
|
|
#include <miniupnpc/miniupnpc.h> |
|
|
#include <miniupnpc/upnpcommands.h> |
|
|
#include <miniupnpc/upnpcommands.h> |
|
|
#include <miniupnpc/upnperrors.h> |
|
|
#include <miniupnpc/upnperrors.h> |
|
|
|
|
|
#endif // CMAKE_BUILD
|
|
|
#endif // HAVE_MINIUPNP
|
|
|
#endif // HAVE_MINIUPNP
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|