From c61e44da34f32b9b36c5576a3b94bad8659b0e75 Mon Sep 17 00:00:00 2001 From: zeromus Date: Tue, 16 Aug 2016 06:15:31 -0500 Subject: [PATCH] libretro-common : fix extern C guards in encodings/utf.h --- desmume/src/libretro-common/include/encodings/utf.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/desmume/src/libretro-common/include/encodings/utf.h b/desmume/src/libretro-common/include/encodings/utf.h index 531ebe686..3201e0ede 100644 --- a/desmume/src/libretro-common/include/encodings/utf.h +++ b/desmume/src/libretro-common/include/encodings/utf.h @@ -23,11 +23,15 @@ #ifndef _LIBRETRO_ENCODINGS_UTF_H #define _LIBRETRO_ENCODINGS_UTF_H +#include + #include #include #include +RETRO_BEGIN_DECLS + size_t utf8_conv_utf32(uint32_t *out, size_t out_chars, const char *in, size_t in_size); @@ -40,4 +44,6 @@ size_t utf8cpy(char *d, size_t d_len, const char *s, size_t chars); const char *utf8skip(const char *str, size_t chars); +RETRO_END_DECLS + #endif