diff --git a/libretro-common/include/net/net_compat.h b/libretro-common/include/net/net_compat.h index 4a0a7ff800..fd07f47c98 100644 --- a/libretro-common/include/net/net_compat.h +++ b/libretro-common/include/net/net_compat.h @@ -221,6 +221,7 @@ RETRO_BEGIN_DECLS #define NI_NAMEREQD 8 #define NI_DGRAM 16 +#ifndef __PS3__ struct addrinfo { int ai_flags; @@ -232,6 +233,7 @@ struct addrinfo char *ai_canonname; struct addrinfo *ai_next; }; +#endif /* gai_strerror() not used, so we skip that. */