From ef4a9038df69185f3f37ee623f5601c202970e72 Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 17 Apr 2009 17:07:06 +0000 Subject: [PATCH] OSX has sys/malloc.h, not malloc.h --- pandatool/src/mayaprogs/mayaWrapper.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pandatool/src/mayaprogs/mayaWrapper.cxx b/pandatool/src/mayaprogs/mayaWrapper.cxx index 3eeb32156e..5c3713f658 100644 --- a/pandatool/src/mayaprogs/mayaWrapper.cxx +++ b/pandatool/src/mayaprogs/mayaWrapper.cxx @@ -33,8 +33,12 @@ #include #define _putenv putenv #endif +#ifdef __APPLE__ + #include +#else + #include +#endif #include -#include #include #include #define PATH_MAX 1024