mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix miniupnp module include error
This commit is contained in:
parent
650c5f1fa8
commit
42612e3f58
@ -19,7 +19,7 @@
|
|||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "upnp/upnp.h"
|
#include <upnp/upnp.h>
|
||||||
|
|
||||||
|
|
||||||
#if UPNP_VERSION < 10800
|
#if UPNP_VERSION < 10800
|
||||||
|
@ -31,8 +31,8 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
/* This stuff is actually C */
|
/* This stuff is actually C */
|
||||||
|
|
||||||
#include "upnp/upnphandler_miniupnp.h"
|
#include "rs_upnp/upnphandler_miniupnp.h"
|
||||||
#include "upnp/upnputil.h"
|
#include "rs_upnp/upnputil.h"
|
||||||
|
|
||||||
class uPnPConfigData
|
class uPnPConfigData
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
//this file use miniupnp
|
//this file use miniupnp
|
||||||
|
|
||||||
#include "upnp/upnphandler.h"
|
#include <upnp/upnphandler.h>
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
//this file uses miniupnp
|
//this file uses miniupnp
|
||||||
//From https://github.com/miniupnp/miniupnp/blob/master/miniupnpc/upnpc.c
|
//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
|
#if MINIUPNPC_API_VERSION >= -4//1.0 2008/02/18
|
||||||
#include "util/rstime.h"
|
#include "util/rstime.h"
|
||||||
|
@ -32,9 +32,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef RS_USE_LIBUPNP
|
#ifdef RS_USE_LIBUPNP
|
||||||
# include "upnp/upnpconfig.h"
|
# include <upnp/upnpconfig.h>
|
||||||
#elif defined(RS_USE_LIBMINIUPNPC)
|
#elif defined(RS_USE_LIBMINIUPNPC)
|
||||||
# include "miniupnpc/miniupnpc.h"
|
# include <miniupnpc/miniupnpc.h>
|
||||||
#endif // def RS_USE_LIBUPNP
|
#endif // def RS_USE_LIBUPNP
|
||||||
|
|
||||||
std::string RsServer::getSQLCipherVersion()
|
std::string RsServer::getSQLCipherVersion()
|
||||||
|
Loading…
Reference in New Issue
Block a user