Software /
code /
prosody
Comparison
util-src/net.c @ 7931:b619b85e01aa
util.pposix, configure: Move _GNU_SOURCE macro into source files
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 01 Mar 2017 22:27:11 +0100 |
parent | 7889:b8d694646597 |
child | 7969:1c6a07606309 |
comparison
equal
deleted
inserted
replaced
7930:5dec27760ecd | 7931:b619b85e01aa |
---|---|
7 -- Copyright (C) 2013 Matthew Wild | 7 -- Copyright (C) 2013 Matthew Wild |
8 -- Copyright (C) 2013 Florian Zeitz | 8 -- Copyright (C) 2013 Florian Zeitz |
9 -- | 9 -- |
10 */ | 10 */ |
11 | 11 |
12 #define _GNU_SOURCE | |
12 #include <stddef.h> | 13 #include <stddef.h> |
13 #include <string.h> | 14 #include <string.h> |
14 #include <errno.h> | 15 #include <errno.h> |
15 | 16 |
16 #ifndef _WIN32 | 17 #ifndef _WIN32 |