diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-04 21:23:11 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-04 21:23:11 +0000 |
commit | ea9ae05380a4b34e3f343a4412a94e60f53dbc98 (patch) | |
tree | b04b37c28d973f00e4b58494f9ca82777503c308 /libgfortran/runtime/stop.c | |
parent | 97f92bff1aacbbbb2cfbcd934aa8cf708ff08317 (diff) | |
download | gcc-ea9ae05380a4b34e3f343a4412a94e60f53dbc98.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198603 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/runtime/stop.c')
-rw-r--r-- | libgfortran/runtime/stop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgfortran/runtime/stop.c b/libgfortran/runtime/stop.c index 1f0f453bcb3..4805412e761 100644 --- a/libgfortran/runtime/stop.c +++ b/libgfortran/runtime/stop.c @@ -26,7 +26,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" #include <stdlib.h> #include <string.h> + +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif + /* A numeric STOP statement. */ |