mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
(WiiU) Buildfix (#14103)
This commit is contained in:
parent
14e5cd317b
commit
e961f27786
@ -38,9 +38,11 @@
|
||||
#include <compat/ifaddrs.h>
|
||||
#elif !defined(HAVE_LIBNX) && !defined(_3DS)
|
||||
#include <ifaddrs.h>
|
||||
#ifndef WIIU
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <net/net_ifinfo.h>
|
||||
|
||||
@ -222,8 +224,10 @@ failure:
|
||||
{
|
||||
if (!addr->ifa_addr)
|
||||
continue;
|
||||
#ifndef WIIU
|
||||
if (!(addr->ifa_flags & IFF_UP))
|
||||
continue;
|
||||
#endif
|
||||
|
||||
switch (addr->ifa_addr->sa_family)
|
||||
{
|
||||
@ -255,8 +259,10 @@ failure:
|
||||
|
||||
if (!addr->ifa_addr)
|
||||
continue;
|
||||
#ifndef WIIU
|
||||
if (!(addr->ifa_flags & IFF_UP))
|
||||
continue;
|
||||
#endif
|
||||
|
||||
switch (addr->ifa_addr->sa_family)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user