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
commitd205c783278eea95143aa95443803c16882c3f5b (patch)
tree9fcc5ce42e89c795a0f5012b1a84aea1c0123973 /util-src/crand.c
parentf637fde31f2a8c06819001b6d2b1766a51dd8cb2 (diff)
downloadprosody-d205c783278eea95143aa95443803c16882c3f5b.tar.gz
prosody-d205c783278eea95143aa95443803c16882c3f5b.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"