ctime.c: Include <stdlib.h>.

* libgfortran/intrinsics/ctime.c: Include <stdlib.h>.
* libgfortran/intrinsics/getlog.c: Likewise.
* libgfortran/runtime/stop.c: Likewise.

From-SVN: r176675
This commit is contained in:
Andreas Schwab 2011-07-23 11:06:04 +00:00 committed by Andreas Schwab
parent 0a6ecc0829
commit 53390685bd
4 changed files with 9 additions and 0 deletions

View 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

View 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>

View 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

View 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>