[Bf-blender-cvs] [04a5dbbd096] master: Correct build error removing includes

Campbell Barton noreply at git.blender.org
Sat Jan 26 13:07:32 CET 2019


Commit: 04a5dbbd0960b409ec479131837432a70a9b902d
Author: Campbell Barton
Date:   Sat Jan 26 23:08:11 2019 +1100
Branches: master
https://developer.blender.org/rB04a5dbbd0960b409ec479131837432a70a9b902d

Correct build error removing includes

===================================================================

M	source/blender/blenfont/intern/blf_font_i18n.c
M	source/blender/blentranslation/intern/blt_translation.c

===================================================================

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)



More information about the Bf-blender-cvs mailing list