diff options
Diffstat (limited to 'source/blender/python/intern/bpy_app_translations.c')
-rw-r--r-- | source/blender/python/intern/bpy_app_translations.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_app_translations.c b/source/blender/python/intern/bpy_app_translations.c index acb44f86f75..0f5f72328be 100644 --- a/source/blender/python/intern/bpy_app_translations.c +++ b/source/blender/python/intern/bpy_app_translations.c @@ -33,8 +33,6 @@ #include <structmember.h> #include "BLI_utildefines.h" -#include "BLI_string.h" -#include "BLI_ghash.h" #include "BPY_extern.h" #include "bpy_app_translations.h" @@ -48,6 +46,11 @@ #include "../generic/python_utildefines.h" +#ifdef WITH_INTERNATIONAL +# include "BLI_string.h" +# include "BLI_ghash.h" +#endif + typedef struct { PyObject_HEAD /* The string used to separate context from actual message in PY_TRANSLATE RNA props. */ |