From 90f0c9d671a06a41d1c31d6268d25c93ff7356f4 Mon Sep 17 00:00:00 2001 From: David Rose Date: Sat, 10 Oct 2009 17:16:56 +0000 Subject: [PATCH] build on mac too --- direct/src/plugin/handleStreamBuf.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; ////////////////////////////////////////////////////////////////////