From 5a2d940631b515894d156754cb04b7decb2b10e0 Mon Sep 17 00:00:00 2001 From: Vincent Herbet Date: Sat, 14 Oct 2017 14:25:21 +0200 Subject: [PATCH] Fix utf8rewind compilation with GCC --- third_party/utf8rewind/utf8rewind.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/third_party/utf8rewind/utf8rewind.h b/third_party/utf8rewind/utf8rewind.h index fce17d2f..e89c64cb 100644 --- a/third_party/utf8rewind/utf8rewind.h +++ b/third_party/utf8rewind/utf8rewind.h @@ -69,6 +69,12 @@ #include #include +#if defined(LINUX) || defined(OSX) + #include + #include + #include +#endif + /*! \addtogroup version \{ @@ -1867,4 +1873,4 @@ UTF8_API size_t utf8iscategory(const char* input, size_t inputSize, size_t flags \} */ -#endif /* _UTF8REWIND_H_ */ \ No newline at end of file +#endif /* _UTF8REWIND_H_ */