diff options
-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 ebcae7f0bcc..5f9ddaf668f 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 2bc1fbc8266..94808edfc50 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> |