From 19f0e98f58f5895d076bb763db75e00648cf9eba Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sat, 4 May 2013 21:23:11 +0000 Subject: environ.c: Include unistd.h. * runtime/environ.c: Include unistd.h. * runtime/pause.c: Test HAVE_UNISTD_H. * runtime/stop.c: Same. * io/open.c: Same. * io/unix.c: Same. * io/read.c (si_max): Protect declaration of value. From-SVN: r198603 --- libgfortran/io/unix.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libgfortran/io/unix.c') 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 #include +#ifdef HAVE_UNISTD_H #include +#endif + #include #include #include -- cgit v1.1