mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 07:59:42 +00:00
Don't include netplay.h header unless we have HAVE_NETWORKING
defined
This commit is contained in:
parent
0a209c4564
commit
1f4123ba54
@ -41,7 +41,9 @@
|
||||
#include "../../driver.h"
|
||||
#include "../../retroarch.h"
|
||||
#include "../../audio/audio_driver.h"
|
||||
#ifdef HAVE_NETWORKING
|
||||
#include "../../network/netplay/netplay.h"
|
||||
#endif
|
||||
#include "../../playlist.h"
|
||||
#include "../../manual_content_scan.h"
|
||||
#include "../misc/cpufreq/cpufreq.h"
|
||||
|
@ -42,7 +42,9 @@
|
||||
#include "../../audio/audio_driver.h"
|
||||
#include "../../verbosity.h"
|
||||
#include "../../ui/ui_companion_driver.h"
|
||||
#ifdef HAVE_NETWORKING
|
||||
#include "../../network/netplay/netplay.h"
|
||||
#endif
|
||||
#include "../../playlist.h"
|
||||
#include "../../manual_content_scan.h"
|
||||
#include "../misc/cpufreq/cpufreq.h"
|
||||
|
@ -26,7 +26,9 @@
|
||||
#endif
|
||||
|
||||
#include "../verbosity.h"
|
||||
#ifdef HAVE_NETWORKING
|
||||
#include "../network/netplay/netplay.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_NETPLAYDISCOVERY
|
||||
static void task_netplay_lan_scan_handler(retro_task_t *task)
|
||||
|
@ -23,11 +23,8 @@
|
||||
|
||||
#ifdef HAVE_NETWORKING
|
||||
#include <net/net_natt.h>
|
||||
#endif
|
||||
|
||||
#include "../network/netplay/netplay.h"
|
||||
|
||||
#ifdef HAVE_NETWORKING
|
||||
struct nat_traversal_state_data
|
||||
{
|
||||
struct natt_status *nat_traversal_state;
|
||||
|
Loading…
Reference in New Issue
Block a user