Diff

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
line wrap: on
line diff
--- a/util-src/net.c	Wed Mar 01 17:48:15 2017 +0100
+++ b/util-src/net.c	Wed Mar 01 22:27:11 2017 +0100
@@ -9,6 +9,7 @@
 --
 */
 
+#define _GNU_SOURCE
 #include <stddef.h>
 #include <string.h>
 #include <errno.h>