UPnP: Fix includes of thirdparty headers
This commit is contained in:
parent
10db0421db
commit
af57515775
6 changed files with 16 additions and 9 deletions
|
@ -29,7 +29,9 @@
|
|||
/*************************************************************************/
|
||||
|
||||
#include "register_types.h"
|
||||
#include "error_macros.h"
|
||||
|
||||
#include "core/error_macros.h"
|
||||
|
||||
#include "upnp.h"
|
||||
#include "upnpdevice.h"
|
||||
|
||||
|
|
|
@ -29,8 +29,10 @@
|
|||
/*************************************************************************/
|
||||
|
||||
#include "upnp.h"
|
||||
#include "miniupnpc/miniwget.h"
|
||||
#include "upnpcommands.h"
|
||||
|
||||
#include <miniupnpc/miniwget.h>
|
||||
#include <miniupnpc/upnpcommands.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
bool UPNP::is_common_device(const String &dev) const {
|
||||
|
|
|
@ -31,9 +31,10 @@
|
|||
#ifndef GODOT_UPNP_H
|
||||
#define GODOT_UPNP_H
|
||||
|
||||
#include "miniupnpc/miniupnpc.h"
|
||||
#include "upnpdevice.h"
|
||||
#include <reference.h>
|
||||
#include "core/reference.h"
|
||||
|
||||
#include <miniupnpc/miniupnpc.h>
|
||||
#include <miniupnpc/upnpdevice.h>
|
||||
|
||||
class UPNP : public Reference {
|
||||
|
||||
|
|
|
@ -29,8 +29,10 @@
|
|||
/*************************************************************************/
|
||||
|
||||
#include "upnpdevice.h"
|
||||
|
||||
#include "upnp.h"
|
||||
#include "upnpcommands.h"
|
||||
|
||||
#include <miniupnpc/upnpcommands.h>
|
||||
|
||||
String UPNPDevice::query_external_address() const {
|
||||
ERR_FAIL_COND_V(!is_valid_gateway(), "");
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#ifndef GODOT_UPNPDEVICE_H
|
||||
#define GODOT_UPNPDEVICE_H
|
||||
|
||||
#include <reference.h>
|
||||
#include "core/reference.h"
|
||||
|
||||
class UPNPDevice : public Reference {
|
||||
|
||||
|
|
2
thirdparty/miniupnpc/miniupnpcstrings.h
vendored
2
thirdparty/miniupnpc/miniupnpcstrings.h
vendored
|
@ -1,7 +1,7 @@
|
|||
#ifndef MINIUPNPCSTRINGS_H_INCLUDED
|
||||
#define MINIUPNPCSTRINGS_H_INCLUDED
|
||||
|
||||
#include <version.h>
|
||||
#include "core/version.h"
|
||||
|
||||
#define OS_STRING VERSION_NAME "/1.0"
|
||||
#define MINIUPNPC_VERSION_STRING "2.1"
|
||||
|
|
Loading…
Reference in a new issue