diff --git a/libretro-common/net/net_compat.c b/libretro-common/net/net_compat.c index d8a19a33ab..b547c34ed2 100644 --- a/libretro-common/net/net_compat.c +++ b/libretro-common/net/net_compat.c @@ -362,6 +362,9 @@ struct in_addr6_compat const char *inet_ntop_compat(int af, const void *src, char *dst, socklen_t cnt) { +#if defined(VITA) + return sceNetInetNtop(af,src,dst,cnt); +#else if (af == AF_INET) { struct sockaddr_in in; @@ -386,4 +389,5 @@ const char *inet_ntop_compat(int af, const void *src, char *dst, socklen_t cnt) #endif return NULL; +#endif }