Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-07-26 12:39:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-07-26 12:39:27 +0400
commit08725cce5a7226165a5599d165217ca89217ad0f (patch)
treef9eeb6af3013b0e578f111e8f4443cff1f65ad83 /source/blender/modifiers/intern/MOD_meshcache_mdd.c
parent51120efbce1df488bb97b83ad644a4c157f04131 (diff)
Correct includes on different endian systems
Diffstat (limited to 'source/blender/modifiers/intern/MOD_meshcache_mdd.c')
-rw-r--r--source/blender/modifiers/intern/MOD_meshcache_mdd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_meshcache_mdd.c b/source/blender/modifiers/intern/MOD_meshcache_mdd.c
index 0cbf07ca907..90fc750de3b 100644
--- a/source/blender/modifiers/intern/MOD_meshcache_mdd.c
+++ b/source/blender/modifiers/intern/MOD_meshcache_mdd.c
@@ -30,9 +30,11 @@
#include "BLI_sys_types.h"
#include "BLI_utildefines.h"
-#include "BLI_endian_switch.h"
#include "BLI_fileops.h"
#include "BLI_math.h"
+#ifdef __LITTLE_ENDIAN__
+# include "BLI_endian_switch.h"
+#endif
#include "MOD_meshcache_util.h" /* own include */