diff --git a/libretro-common/include/net/net_compat.h b/libretro-common/include/net/net_compat.h index f88260dd13..d3a0894f63 100644 --- a/libretro-common/include/net/net_compat.h +++ b/libretro-common/include/net/net_compat.h @@ -56,6 +56,8 @@ #include +#define setsockopt net_setsockopt + #elif defined(VITA) #include diff --git a/network/netplay/netplay_frontend.c b/network/netplay/netplay_frontend.c index 1f316dc594..4b468a9dcf 100644 --- a/network/netplay/netplay_frontend.c +++ b/network/netplay/netplay_frontend.c @@ -93,10 +93,6 @@ #define HAVE_INET6 1 #endif -#ifdef GEKKO -#define setsockopt net_setsockopt -#endif - #ifdef TCP_NODELAY #define SET_TCP_NODELAY(fd) \ { \