diff options
-rw-r--r-- | eglib/src/gfile-posix.c | 2 |
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> |