mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 19:21:03 +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 \
|
||||
tasks/task_http.o
|
||||
|
||||
ifneq ($(HAVE_SOCKET_LEGACY),1)
|
||||
OBJ += libretro-common/net/net_ifinfo.o
|
||||
endif
|
||||
|
||||
ifneq ($(findstring Win32,$(OS)),)
|
||||
LIBS += -lws2_32
|
||||
endif
|
||||
|
@ -774,6 +774,9 @@ NETPLAY
|
||||
#include "../netplay/netplay.c"
|
||||
#include "../libretro-common/net/net_compat.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"
|
||||
#endif
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <netdb.h>
|
||||
#include <ifaddrs.h>
|
||||
|
||||
#include <net_ifinfo.h>
|
||||
#include <net/net_ifinfo.h>
|
||||
|
||||
void net_ifinfo_free(net_ifinfo_t *list)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user