Code

src/libcollectdclient/: Specify _XOPEN_SOURCE=600.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 20 Apr 2009 20:04:28 +0000 (22:04 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 20 Apr 2009 20:04:28 +0000 (22:04 +0200)
src/libcollectdclient/client.c

index f62994c6d02b5abd4101f15fb8511c508d21b04f..1c67ab72530f1551769810c6797cda064d36eb3b 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