From 6bd5e6e022a12c4ac7b5b5ae9776b0c10482dc45 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 11 Aug 2011 18:51:26 +0000 Subject: [PATCH] Don't include spawn or other process headers unless we are building on Mac OS X/Darwin. --- mxmldoc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mxmldoc.c b/mxmldoc.c index fc26633..6f2945e 100644 --- a/mxmldoc.c +++ b/mxmldoc.c @@ -55,10 +55,12 @@ #ifndef WIN32 # include # include +#endif /* !WIN32 */ +#ifdef __APPLE__ # include # include extern char **environ; -#endif /* !WIN32 */ +#endif /* __APPLE__ */ /*