2007-04-27 Jonathan Chambers <joncham@gmail.com>
[mono.git] / eglib / test / module.c
index 02c743d3c9d7691ab748fe3cd0149b67239ff9df..a28363785ff0a8868edab43584f52447245c1b4c 100644 (file)
@@ -1,8 +1,11 @@
+#include <config.h>
 #include <glib.h>
 #include <gmodule.h>
 #include <string.h>
 #include <stdio.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 #include "test.h"
 
 #if defined (G_OS_WIN32)
@@ -58,3 +61,4 @@ static Test module_tests [] = {
 
 DEFINE_TEST_GROUP_INIT(module_tests_init, module_tests)
 
+