diff options
-rwxr-xr-x | prosodyctl | 1 | ||||
-rw-r--r-- | util-src/crand.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -233,6 +233,7 @@ local function make_host(hostname) type = "local", events = prosody.events, modules = {}, + sessions = {}, users = require "core.usermanager".new_null_provider(hostname) }; end 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 |