From 04a5dbbd0960b409ec479131837432a70a9b902d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 26 Jan 2019 23:08:11 +1100 Subject: Correct build error removing includes --- source/blender/blenfont/intern/blf_font_i18n.c | 3 +++ source/blender/blentranslation/intern/blt_translation.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/blender/blenfont/intern/blf_font_i18n.c b/source/blender/blenfont/intern/blf_font_i18n.c index c1762cf497f..bf67e64e2a5 100644 --- a/source/blender/blenfont/intern/blf_font_i18n.c +++ b/source/blender/blenfont/intern/blf_font_i18n.c @@ -43,6 +43,9 @@ #ifdef WITH_INTERNATIONAL +#include "BLI_fileops.h" +#include "BLI_string.h" + struct FontBuf { const char *filename; uchar *data; diff --git a/source/blender/blentranslation/intern/blt_translation.c b/source/blender/blentranslation/intern/blt_translation.c index 91370b9a509..1a6489e6331 100644 --- a/source/blender/blentranslation/intern/blt_translation.c +++ b/source/blender/blentranslation/intern/blt_translation.c @@ -38,7 +38,6 @@ #include "MEM_guardedalloc.h" - #include "DNA_userdef_types.h" /* For user settings. */ #ifdef WITH_PYTHON @@ -46,7 +45,8 @@ #endif #ifdef WITH_INTERNATIONAL -#include "boost_locale_wrapper.h" +# include "BLI_threads.h" +# include "boost_locale_wrapper.h" #endif /* WITH_INTERNATIONAL */ bool BLT_is_default_context(const char *msgctxt) -- cgit v1.2.3