Index: mxmldoc.c
--- mxmldoc.c.orig	2009-05-05 15:38:00 +0200
+++ mxmldoc.c	2009-05-18 20:13:36 +0200
@@ -57,7 +57,9 @@
 #ifndef WIN32
 #  include <dirent.h>
 #  include <unistd.h>
+#ifdef __linux__
 #  include <spawn.h>
+#endif
 #  include <sys/wait.h>
 extern char **environ;
 #endif /* !WIN32 */
