Add _XOPEN_SOURCE=600 to all .c files with standards compliance defines.
[collectd.git] / src / libcollectdclient / client.c
index f62994c..1c67ab7 100644 (file)
@@ -29,6 +29,9 @@
 #ifndef _POSIX_C_SOURCE
 # define _POSIX_C_SOURCE 200112L
 #endif
+#ifndef _XOPEN_SOURCE
+# define _XOPEN_SOURCE 600
+#endif
 #ifndef _REENTRANT
 # define _REENTRANT
 #endif