Correct includes on different endian systems

This commit is contained in:
Campbell Barton 2014-07-26 18:39:27 +10:00
parent 51120efbce
commit 08725cce5a
Notes: blender-bot 2023-02-14 10:21:11 +01:00
Referenced by issue #41196, Python call of bake operator cause Blender Crash
2 changed files with 6 additions and 1 deletions

View File

@ -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 */

View File

@ -32,6 +32,9 @@
#include "BLI_utildefines.h"
#include "BLI_fileops.h"
#include "BLI_math.h"
#ifdef __BIG_ENDIAN__
# include "BLI_endian_switch.h"
#endif
#include "MOD_meshcache_util.h" /* own include */