Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eglib/src/gfile-posix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/eglib/src/gfile-posix.c b/eglib/src/gfile-posix.c
index 74a20e2e314..70d7af90827 100644
--- a/eglib/src/gfile-posix.c
+++ b/eglib/src/gfile-posix.c
@@ -33,7 +33,9 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#ifdef _MSC_VER
#include <direct.h>