--- Box2D_v2.1.2/Box2D/Box2D/Common/b2Settings.h-orig 2010-10-23 06:06:29.541063227 -0500
+++ Box2D_v2.1.2/Box2D/Box2D/Common/b2Settings.h 2010-10-23 06:06:39.592148933 -0500
@@ -21,6 +21,7 @@
#include <cassert>
#include <cmath>
+#include "math.h"
#define B2_NOT_USED(x) ((void)(x))
#define b2Assert(A) assert(A)
--- Box2D_v2.1.2/Box2D/glui/algebra3.h-orig 2010-10-23 06:14:59.854936516 -0500
+++ Box2D_v2.1.2/Box2D/glui/algebra3.h 2010-10-23 06:15:26.661491933 -0500
@@ -80,6 +80,8 @@
#include <cmath>
#include <cstdio>
#include <cstdlib>
+#include "stdio.h"
+#include "math.h"
// this line defines a new type: pointer to a function which returns a
// float and takes as argument a float
--- Box2D_v2.1.2/Box2D/Box2D/Common/b2BlockAllocator.cpp-orig 2010-10-23 06:11:36.925128990 -0500
+++ Box2D_v2.1.2/Box2D/Box2D/Common/b2BlockAllocator.cpp 2010-10-23 06:11:57.615745674 -0500
@@ -21,6 +21,7 @@
#include <climits>
#include <cstring>
#include <memory>
+#include "string.h"
int32 b2BlockAllocator::s_blockSizes[b2_blockSizes] =
{
--- Box2D_v2.1.2/Box2D/Box2D/Common/b2Settings.cpp-orig 2010-10-23 06:12:17.851760808 -0500
+++ Box2D_v2.1.2/Box2D/Box2D/Common/b2Settings.cpp 2010-10-23 06:12:33.360539702 -0500
@@ -18,6 +18,7 @@
#include <Box2D/Common/b2Settings.h>
#include <cstdlib>
+#include "stdlib.h"
b2Version b2_version = {2, 1, 2};
--- Box2D_v2.1.2/Box2D/Box2D/Collision/b2DynamicTree.cpp-orig 2010-10-23 06:12:53.444747621 -0500
+++ Box2D_v2.1.2/Box2D/Box2D/Collision/b2DynamicTree.cpp 2010-10-23 06:13:10.273840459 -0500
@@ -19,6 +19,7 @@
#include <Box2D/Collision/b2DynamicTree.h>
#include <cstring>
#include <cfloat>
+#include "string.h"
b2DynamicTree::b2DynamicTree()
{