From 4aaed98e74d1f0c0dfe4fbb3d3acf2d29c59b873 Mon Sep 17 00:00:00 2001 From: bentley Date: Sun, 12 Apr 2020 04:34:19 +0000 Subject: [PATCH] Include sys/time.h for gettimeofday. May fix the build on mips64. --- .../patch-libretro-common_features_features_cpu_c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/emulators/retroarch/patches/patch-libretro-common_features_features_cpu_c b/emulators/retroarch/patches/patch-libretro-common_features_features_cpu_c index ff85f51355e..11a75731860 100644 --- a/emulators/retroarch/patches/patch-libretro-common_features_features_cpu_c +++ b/emulators/retroarch/patches/patch-libretro-common_features_features_cpu_c @@ -1,4 +1,4 @@ -$OpenBSD: patch-libretro-common_features_features_cpu_c,v 1.1 2019/08/09 15:55:52 cwen Exp $ +$OpenBSD: patch-libretro-common_features_features_cpu_c,v 1.2 2020/04/12 04:34:19 bentley Exp $ ppc fix for: features_cpu.c:(.text+0x20): undefined reference to `__mftb' @@ -6,7 +6,15 @@ features_cpu.c:(.text+0x20): undefined reference to `__mftb' Index: libretro-common/features/features_cpu.c --- libretro-common/features/features_cpu.c.orig +++ libretro-common/features/features_cpu.c -@@ -39,7 +39,7 @@ +@@ -22,6 +22,7 @@ + + #include + #include ++#include + + #if defined(_WIN32) + #include +@@ -39,7 +40,7 @@ #include #endif