Correct build error removing includes
authorCampbell Barton <ideasman42@gmail.com>
Sat, 26 Jan 2019 12:08:11 +0000 (23:08 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 26 Jan 2019 12:08:11 +0000 (23:08 +1100)
source/blender/blenfont/intern/blf_font_i18n.c
source/blender/blentranslation/intern/blt_translation.c

index c1762cf..bf67e64 100644 (file)
@@ -43,6 +43,9 @@
 
 #ifdef WITH_INTERNATIONAL
 
+#include "BLI_fileops.h"
+#include "BLI_string.h"
+
 struct FontBuf {
        const char *filename;
        uchar *data;
index 91370b9..1a6489e 100644 (file)
@@ -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)