fix for gcc 4.6 commit: this is needed for osx too.
authorCampbell Barton <ideasman42@gmail.com>
Thu, 27 Jan 2011 11:17:23 +0000 (11:17 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 27 Jan 2011 11:17:23 +0000 (11:17 +0000)
intern/memutil/intern/MEM_CacheLimiterC-Api.cpp

index 04c780cdf8e43b2b11fc3314c219b0ef334c3cf8..e8f11957c74c9692280dd1fecee42b7283d2b297 100644 (file)
@@ -20,8 +20,7 @@
  *
  */
 
-/* for types only, not alloc functions */
-#include <malloc.h>
+#include <cstddef>
 
 #include "MEM_CacheLimiter.h"
 #include "MEM_CacheLimiterC-Api.h"