util.crand: Include stdlib.h instead of malloc.h for portability (thanks Tobias)
authorKim Alvefur <zash@zash.se>
Mon, 22 Feb 2016 21:56:05 +0000 (22:56 +0100)
committerKim Alvefur <zash@zash.se>
Mon, 22 Feb 2016 21:56:05 +0000 (22:56 +0100)
util-src/crand.c

index 9a45f10f5daedf3fee4adbb5aa054adef2cdf0e1..735135fb81a416de72ad849cf433bc5823c6aac6 100644 (file)
@@ -23,7 +23,7 @@
  * TODO: Decide on fixed size or dynamically allocated buffer
  */
 #if 1
-#include <malloc.h>
+#include <stdlib.h>
 #else
 #define BUFLEN 256
 #endif