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
commit2652d5d058ed599775f131fd0b463c74f6178ebf (patch)
tree9fcc5ce42e89c795a0f5012b1a84aea1c0123973 /util-src/net.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/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>