summaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-27 09:15:52 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-27 09:15:52 +0000
commitd3314a91c87799e642652a58a7a2a904507937b4 (patch)
tree6f521a150ced1c2ec08a49987d533d15f6c30a3e /libgfortran
parentcfcab6d7b5dcd186d118609669db240e2fbab396 (diff)
downloadgcc-d3314a91c87799e642652a58a7a2a904507937b4.tar.gz
* intrinsics/getcwd.c: Include stdlib.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210962 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog8
-rw-r--r--libgfortran/intrinsics/getcwd.c1
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>