From 17ca9eb7e7da0bb524c99d696962087d90414608 Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Fri, 7 Dec 2012 18:21:14 +0000 Subject: [PATCH] Fix compile error when defining DEBUG, include memset header See Issue 678, thanks to Max for the report! --- src/LinearMath/btVector3.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/LinearMath/btVector3.cpp b/src/LinearMath/btVector3.cpp index 40d09c0c3..1c26e523d 100644 --- a/src/LinearMath/btVector3.cpp +++ b/src/LinearMath/btVector3.cpp @@ -25,6 +25,12 @@ #if defined BT_USE_SIMD_VECTOR3 + +#if DEBUG +#include //for memset +#endif + + #ifdef __APPLE__ #include typedef float float4 __attribute__ ((vector_size(16)));