diff options
Diffstat (limited to 'extern/bullet/BulletDynamics/ConstraintSolver/OdeConstraintSolver.cpp')
-rw-r--r-- | extern/bullet/BulletDynamics/ConstraintSolver/OdeConstraintSolver.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extern/bullet/BulletDynamics/ConstraintSolver/OdeConstraintSolver.cpp b/extern/bullet/BulletDynamics/ConstraintSolver/OdeConstraintSolver.cpp index aa0beab7786..1fb23b40752 100644 --- a/extern/bullet/BulletDynamics/ConstraintSolver/OdeConstraintSolver.cpp +++ b/extern/bullet/BulletDynamics/ConstraintSolver/OdeConstraintSolver.cpp @@ -33,11 +33,15 @@ #include <string.h> #include <stdio.h> -#ifdef WIN32 +#if defined (WIN32) #include <malloc.h> #else +#if defined (__FreeBSD__) +#include <stdlib.h> +#else #include <alloca.h> #endif +#endif class BU_Joint; |