diff -ur blender-2.49b.orig/extern/bullet2/src/BulletSoftBody/btSoftBodyInternals.h blender-2.49b/extern/bullet2/src/BulletSoftBody/btSoftBodyInternals.h --- blender-2.49b.orig/extern/bullet2/src/BulletSoftBody/btSoftBodyInternals.h 2009-09-01 18:23:19.000000000 +0300 +++ blender-2.49b/extern/bullet2/src/BulletSoftBody/btSoftBodyInternals.h 2013-01-17 18:46:52.413784542 +0200 @@ -18,6 +18,7 @@ #define _BT_SOFT_BODY_INTERNALS_H #include "btSoftBody.h" +#include #include "LinearMath/btQuickprof.h" #include "BulletCollision/BroadphaseCollision/btBroadphaseInterface.h" @@ -171,8 +172,7 @@ template static inline void ZeroInitialize(T& value) { - static const T zerodummy; - value=zerodummy; + memset(&value,0,sizeof(T)); } // template diff -ur blender-2.49b.orig/intern/memutil/MEM_Allocator.h blender-2.49b/intern/memutil/MEM_Allocator.h --- blender-2.49b.orig/intern/memutil/MEM_Allocator.h 2009-09-01 18:20:41.000000000 +0300 +++ blender-2.49b/intern/memutil/MEM_Allocator.h 2013-01-17 18:47:25.113781922 +0200 @@ -24,6 +24,7 @@ #ifndef __MEM_Allocator_h_included__ #define __MEM_Allocator_h_included__ 1 +#include #include "guardedalloc/MEM_guardedalloc.h" #include "guardedalloc/BLO_sys_types.h"