diff --git a/gfx/drivers_context/ps3_ctx.c b/gfx/drivers_context/ps3_ctx.c index 1be8558b85..e7e8a1ddbc 100644 --- a/gfx/drivers_context/ps3_ctx.c +++ b/gfx/drivers_context/ps3_ctx.c @@ -151,7 +151,7 @@ static void gfx_ctx_ps3_set_swap_interval(void *data, int interval) static void gfx_ctx_ps3_check_window(void *data, bool *quit, bool *resize, unsigned *width, unsigned *height) { - gl_t *gl = data; + gl2_t *gl = data; *quit = false; *resize = false; diff --git a/libretro-common/include/libretro.h b/libretro-common/include/libretro.h index 2f17483701..755279e0a0 100644 --- a/libretro-common/include/libretro.h +++ b/libretro-common/include/libretro.h @@ -3461,6 +3461,10 @@ struct retro_core_option_definition const char *default_value; }; +#ifdef __PS3__ +#undef local +#endif + struct retro_core_options_intl { /* Pointer to an array of retro_core_option_definition structs diff --git a/libretro-common/include/net/net_compat.h b/libretro-common/include/net/net_compat.h index 7387596eb8..03a049da88 100644 --- a/libretro-common/include/net/net_compat.h +++ b/libretro-common/include/net/net_compat.h @@ -118,6 +118,7 @@ struct SceNetInAddr inet_aton(const char *ip_addr); #if !defined(__PSL1GHT__) && defined(__PS3__) #include +#include #else #include #endif