includes for building with gcc 4.6 on fedora.
authorCampbell Barton <ideasman42@gmail.com>
Wed, 30 Mar 2011 16:14:54 +0000 (16:14 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 30 Mar 2011 16:14:54 +0000 (16:14 +0000)
patch from Richard Shaw

extern/Eigen2/Eigen/src/Core/util/Memory.h
intern/ghost/GHOST_IEvent.h
intern/memutil/MEM_Allocator.h
source/gameengine/Converter/BL_ArmatureChannel.cpp
source/gameengine/Expressions/PyObjectPlus.h

index 0a43e7f7bf2c0d58b4f2f73930853a5e81705fc3..8ff8d87c55cc22cd76964a2bc49ebcadc8b490fb 100644 (file)
@@ -37,6 +37,8 @@
 #define EIGEN_FREEBSD_MALLOC_ALREADY_ALIGNED 0
 #endif
 
+#include <stddef.h>
+
 #if defined(__APPLE__) || defined(_WIN64) || EIGEN_FREEBSD_MALLOC_ALREADY_ALIGNED
   #define EIGEN_MALLOC_ALREADY_ALIGNED 1
 #else
index 4c8c4d4a39243d80a33821606482cd3a41a00d04..bb13179fbfe976ae40fe4b6cdd447aa8b6fa733a 100644 (file)
@@ -34,6 +34,7 @@
 #ifndef _GHOST_IEVENT_H_
 #define _GHOST_IEVENT_H_
 
+#include <stddef.h>
 #include "GHOST_Types.h"
 
 class GHOST_IWindow;
index 9e9ce47c84fab9144ab07d10d6b624ef7fc8eb37..14d62a2434d7f73471a970e6772490213271f6e0 100644 (file)
@@ -29,6 +29,7 @@
 #ifndef MEM_ALLOCATOR_H
 #define MEM_ALLOCATOR_H
 
+#include <stddef.h>
 #include "guardedalloc/MEM_guardedalloc.h"
 #include "guardedalloc/MEM_sys_types.h"
 
index 626d8a19debb80e792222ca92284aa6305d3f4e7..df3a575850b79651a545446b41a131c10f0ddc21 100644 (file)
@@ -37,6 +37,7 @@
 #include "BL_ArmatureConstraint.h"
 #include "BLI_math.h"
 #include "BLI_string.h"
+#include <stddef.h>
 
 #ifdef WITH_PYTHON
 
index 7d06cc64ee9c05194a50ed394eb5cd58e65ec21f..157124ebc810692fa80a9bfab2fcfb2e5072b865 100644 (file)
@@ -45,6 +45,7 @@
 #include "STR_String.h"
 #include "MT_Vector3.h"
 #include "SG_QList.h"
+#include <stddef.h>
 
 /*------------------------------
  * Python defines