Diff

util-src/net.c @ 9150:c1d5f52274cf

net, pposix, signal: Check for redefined defines, fix warnings.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 08 Aug 2018 09:27:34 +0200
parent 8426:8b612ec00e4a
child 10480:94cacf9fd0ae
line wrap: on
line diff
--- a/util-src/net.c	Wed Aug 08 08:19:01 2018 +0100
+++ b/util-src/net.c	Wed Aug 08 09:27:34 2018 +0200
@@ -9,7 +9,10 @@
 --
 */
 
+#ifndef _GNU_SOURCE
 #define _GNU_SOURCE
+#endif
+
 #include <stddef.h>
 #include <string.h>
 #include <errno.h>