diff --git a/libretro-common/include/compat/strl.h b/libretro-common/include/compat/strl.h index 896dd2e7ac..0f14cb18c5 100644 --- a/libretro-common/include/compat/strl.h +++ b/libretro-common/include/compat/strl.h @@ -30,11 +30,11 @@ #include "../../../config.h" #endif -#ifndef HAVE_STRL - #ifdef __cplusplus extern "C" { #endif + +#ifndef HAVE_STRL /* Avoid possible naming collisions during link since * we prefer to use the actual name. */ #define strlcpy(dst, src, size) strlcpy_rarch__(dst, src, size) @@ -44,11 +44,13 @@ extern "C" { size_t strlcpy(char *dest, const char *source, size_t size); size_t strlcat(char *dest, const char *source, size_t size); +#endif + char *rarch_strcasestr(const char *s, const char *find); #ifdef __cplusplus } #endif -#endif + #endif