Include <stdlib.h> in intrinsics/random.c
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 11 Aug 2016 15:26:07 +0000 (15:26 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 11 Aug 2016 15:26:07 +0000 (15:26 +0000)
* intrinsics/random.c: Include <stdlib.h>.

From-SVN: r239375

libgfortran/ChangeLog
libgfortran/intrinsics/random.c

index ca2c8edc45c31d4c188660db93a3b6ca46df90a7..0f9d629b4606968af25a45eed8efa01219c5dd9d 100644 (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
index 6084ebe4bb20f78d693d3f8624052524962881f0..3b913893817703a91518c822319a71110436fd10 100644 (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