diff options
Diffstat (limited to 'libgfortran/io/unix.c')
-rw-r--r-- | libgfortran/io/unix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c index 08fe4fe..dd2715b 100644 --- a/libgfortran/io/unix.c +++ b/libgfortran/io/unix.c @@ -30,7 +30,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include <stdlib.h> #include <limits.h> +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif + #include <sys/stat.h> #include <fcntl.h> #include <assert.h> |