Include <stdlib.h> in intrinsics/random.c

* intrinsics/random.c: Include <stdlib.h>.

From-SVN: r239375
This commit is contained in:
Rainer Orth 2016-08-11 15:26:07 +00:00 committed by Rainer Orth
parent 7ddbcf6bb8
commit e8283787cb
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2016-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* intrinsics/random.c: Include <stdlib.h>.
2016-08-11 Janne Blomqvist <jb@gcc.gnu.org>
* intrinsics/random.c: Replace KISS with xorshift1024* using

View File

@ -27,6 +27,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include "libgfortran.h"
#include <gthr.h>
#include <string.h>
#include <stdlib.h>
/* For getosrandom. */
#ifdef HAVE_SYS_TYPES_H