diff options
author | Kim Alvefur <zash@zash.se> | 2016-02-22 22:56:05 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-02-22 22:56:05 +0100 |
commit | b480592504219c8324c937f63e8aa1a565def8bb (patch) | |
tree | 7021f8e4a9fd7e9f1ed4b35c67aa54970d9cbb23 | |
parent | 6ee4f6f618ee4a07f3b25f38c7da675d68fdceee (diff) | |
download | prosody-b480592504219c8324c937f63e8aa1a565def8bb.tar.gz prosody-b480592504219c8324c937f63e8aa1a565def8bb.zip |
util.crand: Include stdlib.h instead of malloc.h for portability (thanks Tobias)
-rw-r--r-- | util-src/crand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/crand.c b/util-src/crand.c index 9a45f10f..735135fb 100644 --- a/util-src/crand.c +++ b/util-src/crand.c @@ -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 |