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