]> granicus.if.org Git - pgbouncer/commitdiff
glibc requires use of _GNU_SOURCE
authorMarko Kreen <markokr@gmail.com>
Fri, 8 Aug 2008 11:10:28 +0000 (11:10 +0000)
committerMarko Kreen <markokr@gmail.com>
Fri, 8 Aug 2008 11:10:28 +0000 (11:10 +0000)
include/system.h

index 483f263ad0bfcdc3815dfa940fb4190f7191f12c..a106f1706263ce182de35192e4efba0c9c5fab4e 100644 (file)
@@ -24,6 +24,9 @@
 #include "config.h"
 #endif
 
+/* glibc is useless without it */
+#define _GNU_SOURCE
+
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/time.h>