From 10499abcc8e044473befa7c1659ca8d69e2f30e7 Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Sat, 29 Jun 2024 03:21:53 +0200 Subject: [PATCH] Buildfix - for strdup --- libgambatte/libretro-common/include/array/rhmap.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libgambatte/libretro-common/include/array/rhmap.h b/libgambatte/libretro-common/include/array/rhmap.h index d6aec90..10cb550 100644 --- a/libgambatte/libretro-common/include/array/rhmap.h +++ b/libgambatte/libretro-common/include/array/rhmap.h @@ -104,6 +104,7 @@ #include /* for memcpy, memset */ #include /* for ptrdiff_t, size_t */ #include /* for uint32_t */ +#include /* for strdup */ #define RHMAP_LEN(b) ((b) ? RHMAP__HDR(b)->len : 0) #define RHMAP_MAX(b) ((b) ? RHMAP__HDR(b)->maxlen : 0)