diff --git a/libretro-common/net/net_ifinfo.c b/libretro-common/net/net_ifinfo.c index b260aafc2c..88e23d6399 100644 --- a/libretro-common/net/net_ifinfo.c +++ b/libretro-common/net/net_ifinfo.c @@ -38,9 +38,11 @@ #include #elif !defined(HAVE_LIBNX) && !defined(_3DS) #include +#ifndef WIIU #include #endif #endif +#endif #include @@ -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) {