aboutsummaryrefslogtreecommitdiff
path: root/games/libretro-mednafen_pcfx/files/patch-libretro-common_rthreads_rthreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/libretro-mednafen_pcfx/files/patch-libretro-common_rthreads_rthreads.c')
-rw-r--r--games/libretro-mednafen_pcfx/files/patch-libretro-common_rthreads_rthreads.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/libretro-mednafen_pcfx/files/patch-libretro-common_rthreads_rthreads.c b/games/libretro-mednafen_pcfx/files/patch-libretro-common_rthreads_rthreads.c
new file mode 100644
index 000000000000..efe404d1dce2
--- /dev/null
+++ b/games/libretro-mednafen_pcfx/files/patch-libretro-common_rthreads_rthreads.c
@@ -0,0 +1,11 @@
+--- libretro-common/rthreads/rthreads.c.orig 2023-11-02 10:57:19 UTC
++++ libretro-common/rthreads/rthreads.c
+@@ -55,7 +55,7 @@
+ #include <time.h>
+ #endif
+
+-#if defined(VITA) || defined(BSD) || defined(ORBIS)
++#if defined(VITA) || defined(BSD) || defined(ORBIS) || (__FreeBSD__ <= 12)
+ #include <sys/time.h>
+ #elif defined(__PS3__)
+ #include <sys/sys_time.h>