From ce9c08793eb4589301cfb017b8e45aa3d0ccfa45 Mon Sep 17 00:00:00 2001 From: barbudreadmon Date: Sat, 28 Sep 2024 16:02:11 +0200 Subject: [PATCH] ioapi: libretro needs this --- src/burner/ioapi.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/burner/ioapi.h b/src/burner/ioapi.h index f3b193d803..bcc4eeab96 100644 --- a/src/burner/ioapi.h +++ b/src/burner/ioapi.h @@ -45,6 +45,13 @@ #include #include "zlib.h" +#ifdef __LIBRETRO__ + #include + #ifndef USE_FILE32API + #define USE_FILE32API + #endif +#endif + #if defined(USE_FILE32API) #define fopen64 fopen #define ftello64 ftell