ctime.c: Include <stdlib.h>.
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 23 Jul 2011 11:06:04 +0000 (11:06 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Sat, 23 Jul 2011 11:06:04 +0000 (11:06 +0000)
* libgfortran/intrinsics/ctime.c: Include <stdlib.h>.
* libgfortran/intrinsics/getlog.c: Likewise.
* libgfortran/runtime/stop.c: Likewise.

From-SVN: r176675

libgfortran/ChangeLog
libgfortran/intrinsics/ctime.c
libgfortran/intrinsics/getlog.c
libgfortran/runtime/stop.c

index 76f5f9930d55f8dfea0dd76d98dc93f65fc041e8..a30f264307a173716513f6eb133c822d89bbf517 100644 (file)
@@ -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
index 92c0431357e5c0a25ac074954abe47b51237cea3..1c924a11da4d9ec9d21f50284f378d2714475373 100644 (file)
@@ -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>
 
 
index 9e5c8de4677463175d82f05197b2effd6684cb99..f4fc0f6e5ef344e7722d88984203ce06ac6f66e8 100644 (file)
@@ -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
index 912dd54fbf77681139b7008312b242ba52a9461a..36174b714f287b5ac2f670f34728d5c2998f6c3a 100644 (file)
@@ -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>