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
|
||||
|
||||
#include "upnp/upnp.h"
|
||||
#include <upnp/upnp.h>
|
||||
|
||||
|
||||
#if UPNP_VERSION < 10800
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
//this file use miniupnp
|
||||
|
||||
#include "upnp/upnphandler.h"
|
||||
#include <upnp/upnphandler.h>
|
||||
|
||||
|
||||
int main(int argc, char **argv)
|
||||
|
@ -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"
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user