Fix miniupnp module include error

This commit is contained in:
Gioacchino Mazzurco 2019-04-24 23:56:38 +02:00
parent 650c5f1fa8
commit 42612e3f58
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051
5 changed files with 7 additions and 7 deletions

View File

@ -19,7 +19,7 @@
*******************************************************************************/
#pragma once
#include "upnp/upnp.h"
#include <upnp/upnp.h>
#if UPNP_VERSION < 10800

View File

@ -31,8 +31,8 @@ extern "C" {
#endif
/* This stuff is actually C */
#include "upnp/upnphandler_miniupnp.h"
#include "upnp/upnputil.h"
#include "rs_upnp/upnphandler_miniupnp.h"
#include "rs_upnp/upnputil.h"
class uPnPConfigData
{

View File

@ -1,6 +1,6 @@
//this file use miniupnp
#include "upnp/upnphandler.h"
#include <upnp/upnphandler.h>
int main(int argc, char **argv)

View File

@ -23,7 +23,7 @@
//this file uses miniupnp
//From https://github.com/miniupnp/miniupnp/blob/master/miniupnpc/upnpc.c
#include "upnp/upnputil.h"
#include "rs_upnp/upnputil.h"
#if MINIUPNPC_API_VERSION >= -4//1.0 2008/02/18
#include "util/rstime.h"

View File

@ -32,9 +32,9 @@
#endif
#ifdef RS_USE_LIBUPNP
# include "upnp/upnpconfig.h"
# include <upnp/upnpconfig.h>
#elif defined(RS_USE_LIBMINIUPNPC)
# include "miniupnpc/miniupnpc.h"
# include <miniupnpc/miniupnpc.h>
#endif // def RS_USE_LIBUPNP
std::string RsServer::getSQLCipherVersion()