projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03ddbee
)
glibc requires use of _GNU_SOURCE
author
Marko Kreen
<markokr@gmail.com>
Fri, 8 Aug 2008 11:10:28 +0000
(11:10 +0000)
committer
Marko Kreen
<markokr@gmail.com>
Fri, 8 Aug 2008 11:10:28 +0000
(11:10 +0000)
include/system.h
patch
|
blob
|
blame
|
history
diff --git
a/include/system.h
b/include/system.h
index 483f263ad0bfcdc3815dfa940fb4190f7191f12c..a106f1706263ce182de35192e4efba0c9c5fab4e 100644
(file)
--- a/
include/system.h
+++ b/
include/system.h
@@
-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>