diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2014-05-27 11:15:52 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2014-05-27 11:15:52 +0200 |
commit | d9f99ec4164e098f2bf2be1d486bd8ae48954ada (patch) | |
tree | 6f521a150ced1c2ec08a49987d533d15f6c30a3e | |
parent | 0389fbb55be247b25165580f1f1073d7d7487937 (diff) | |
download | gcc-d9f99ec4164e098f2bf2be1d486bd8ae48954ada.zip gcc-d9f99ec4164e098f2bf2be1d486bd8ae48954ada.tar.gz gcc-d9f99ec4164e098f2bf2be1d486bd8ae48954ada.tar.bz2 |
getcwd.c: Include stdlib.h.
* intrinsics/getcwd.c: Include stdlib.h.
From-SVN: r210962
-rw-r--r-- | libgfortran/ChangeLog | 8 | ||||
-rw-r--r-- | libgfortran/intrinsics/getcwd.c | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index ebcae7f..5f9ddaf 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,7 @@ +2014-05-27 Uros Bizjak <ubizjak@gmail.com> + + * intrinsics/getcwd.c: Include stdlib.h. + 2014-05-26 Janne Blomqvist <jb@gcc.gnu.org> * libgfortran.h (xrealloc): New prototype. @@ -301,7 +305,7 @@ line_buffer_pos for line_buffer look ahead. (read_logical, read_integer, parse_real, read_real, check_type): Adjust location of free_line to after generating error messages - to retain the correct item count for the message. + to retain the correct item count for the message. 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> @@ -324,7 +328,7 @@ checks for library ok. (new_unit): Do cleanup after error. (st_open): Do proper return after error. * io/transfer.c (data_transfer_init): Likewise. - + 2013-12-11 Tobias Burnus <burnus@net-b.de> * config/fpu-387.h (sigill_hdlr, get_fpu_rounding_mode): Emit SSE diff --git a/libgfortran/intrinsics/getcwd.c b/libgfortran/intrinsics/getcwd.c index 2bc1fbc..94808ed 100644 --- a/libgfortran/intrinsics/getcwd.c +++ b/libgfortran/intrinsics/getcwd.c @@ -25,6 +25,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" +#include <stdlib.h> #include <string.h> #include <errno.h> |