mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
Bake in net_ifinfo
This commit is contained in:
parent
191b233334
commit
61faa0a04b
@ -937,6 +937,10 @@ ifeq ($(HAVE_NETWORKING), 1)
|
|||||||
net_http_special.o \
|
net_http_special.o \
|
||||||
tasks/task_http.o
|
tasks/task_http.o
|
||||||
|
|
||||||
|
ifneq ($(HAVE_SOCKET_LEGACY),1)
|
||||||
|
OBJ += libretro-common/net/net_ifinfo.o
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(findstring Win32,$(OS)),)
|
ifneq ($(findstring Win32,$(OS)),)
|
||||||
LIBS += -lws2_32
|
LIBS += -lws2_32
|
||||||
endif
|
endif
|
||||||
|
@ -774,6 +774,9 @@ NETPLAY
|
|||||||
#include "../netplay/netplay.c"
|
#include "../netplay/netplay.c"
|
||||||
#include "../libretro-common/net/net_compat.c"
|
#include "../libretro-common/net/net_compat.c"
|
||||||
#include "../libretro-common/net/net_http.c"
|
#include "../libretro-common/net/net_http.c"
|
||||||
|
#ifndef HAVE_SOCKET_LEGACY
|
||||||
|
#include "../libretro-common/net/net_ifinfo.c"
|
||||||
|
#endif
|
||||||
#include "../tasks/task_http.c"
|
#include "../tasks/task_http.c"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <ifaddrs.h>
|
#include <ifaddrs.h>
|
||||||
|
|
||||||
#include <net_ifinfo.h>
|
#include <net/net_ifinfo.h>
|
||||||
|
|
||||||
void net_ifinfo_free(net_ifinfo_t *list)
|
void net_ifinfo_free(net_ifinfo_t *list)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user