aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/net.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/net.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/net.c')
-rw-r--r--util-src/net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-src/net.c b/util-src/net.c
index 32f69025..35f2c362 100644
--- a/util-src/net.c
+++ b/util-src/net.c
@@ -9,6 +9,7 @@
--
*/
+#define _GNU_SOURCE
#include <stddef.h>
#include <string.h>
#include <errno.h>