aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/crand.c
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-01 22:27:11 +0100
committerKim Alvefur <zash@zash.se>2017-03-01 22:27:11 +0100
commit2652d5d058ed599775f131fd0b463c74f6178ebf (patch)
tree9fcc5ce42e89c795a0f5012b1a84aea1c0123973 /util-src/crand.c
parent84011a3de75f38297aaa0944d55348045e75b408 (diff)
downloadprosody-2652d5d058ed599775f131fd0b463c74f6178ebf.tar.gz
prosody-2652d5d058ed599775f131fd0b463c74f6178ebf.zip
util.pposix, configure: Move _GNU_SOURCE macro into source files
Diffstat (limited to 'util-src/crand.c')
-rw-r--r--util-src/crand.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util-src/crand.c b/util-src/crand.c
index f3fa00ea..8ac89a1f 100644
--- a/util-src/crand.c
+++ b/util-src/crand.c
@@ -19,6 +19,8 @@
*
*/
+#define _DEFAULT_SOURCE
+
#include "lualib.h"
#include "lauxlib.h"