Changeset

7189:72839cafdf36

util.crand: Include stdlib.h instead of malloc.h for portability (thanks Tobias)
author Kim Alvefur <zash@zash.se>
date Mon, 22 Feb 2016 22:56:05 +0100
parents 7187:3d2c2f0809ee
children 7190:7a14ea196db3
files util-src/crand.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util-src/crand.c	Mon Feb 22 18:44:43 2016 +0100
+++ b/util-src/crand.c	Mon Feb 22 22:56:05 2016 +0100
@@ -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