diff --git a/direct/src/plugin/handleStreamBuf.cxx b/direct/src/plugin/handleStreamBuf.cxx index 08ef661779..f0db76a1e1 100644 --- a/direct/src/plugin/handleStreamBuf.cxx +++ b/direct/src/plugin/handleStreamBuf.cxx @@ -22,9 +22,12 @@ #include #include #include -#include #endif // _WIN32 +#if !defined(_WIN32) && !defined(__APPLE__) +#include +#endif // !_WIN32 && !__APPLE__ + static const size_t handle_buffer_size = 4096; ////////////////////////////////////////////////////////////////////