summaryrefslogtreecommitdiffstats
path: root/libgfortran
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-23 11:06:04 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-23 11:06:04 +0000
commitafd623137286b5fa1ed32323e43cd8119935e376 (patch)
tree3a63bc26da82420187d852a50d7d039770280f46 /libgfortran
parent8006b2e37552cb1bddd5e4cb134984f5c772efaf (diff)
downloadppe42-gcc-afd623137286b5fa1ed32323e43cd8119935e376.tar.gz
ppe42-gcc-afd623137286b5fa1ed32323e43cd8119935e376.zip
* libgfortran/intrinsics/ctime.c: Include <stdlib.h>.
* libgfortran/intrinsics/getlog.c: Likewise. * libgfortran/runtime/stop.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176675 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog6
-rw-r--r--libgfortran/intrinsics/ctime.c1
-rw-r--r--libgfortran/intrinsics/getlog.c1
-rw-r--r--libgfortran/runtime/stop.c1
4 files changed, 9 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 76f5f9930d5..a30f264307a 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-23 Andreas Schwab <schwab@linux-m68k.org>
+
+ * intrinsics/ctime.c: Include <stdlib.h>.
+ * intrinsics/getlog.c: Likewise.
+ * runtime/stop.c: Likewise.
+
2011-07-23 Tobias Burnus <burnus@net-b.de>
PR fortran/49791
diff --git a/libgfortran/intrinsics/ctime.c b/libgfortran/intrinsics/ctime.c
index 92c0431357e..1c924a11da4 100644
--- a/libgfortran/intrinsics/ctime.c
+++ b/libgfortran/intrinsics/ctime.c
@@ -27,6 +27,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "time_1.h"
+#include <stdlib.h>
#include <string.h>
diff --git a/libgfortran/intrinsics/getlog.c b/libgfortran/intrinsics/getlog.c
index 9e5c8de4677..f4fc0f6e5ef 100644
--- a/libgfortran/intrinsics/getlog.c
+++ b/libgfortran/intrinsics/getlog.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>
#ifdef HAVE_UNISTD_H
diff --git a/libgfortran/runtime/stop.c b/libgfortran/runtime/stop.c
index 912dd54fbf7..36174b714f2 100644
--- a/libgfortran/runtime/stop.c
+++ b/libgfortran/runtime/stop.c
@@ -24,6 +24,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
#include "libgfortran.h"
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
OpenPOWER on IntegriCloud