Don't include spawn or other process headers unless we are building on Mac OS X/Darwin.

pull/193/head
Michael R Sweet 13 years ago
parent f5b0b9270d
commit 6bd5e6e022
  1. 4
      mxmldoc.c

@ -55,10 +55,12 @@
#ifndef WIN32
# include <dirent.h>
# include <unistd.h>
#endif /* !WIN32 */
#ifdef __APPLE__
# include <spawn.h>
# include <sys/wait.h>
extern char **environ;
#endif /* !WIN32 */
#endif /* __APPLE__ */
/*

Loading…
Cancel
Save