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 | c35c696843216e31059bdc1d9dc8386bdb3eadd5 (patch) | |
tree | 7021f8e4a9fd7e9f1ed4b35c67aa54970d9cbb23 | |
parent | ed8199402ff2a84e57f256818ebc2c505c2ac41d (diff) | |
download | prosody-c35c696843216e31059bdc1d9dc8386bdb3eadd5.tar.gz prosody-c35c696843216e31059bdc1d9dc8386bdb3eadd5.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 |