projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93d32de
)
bind plugin: Fix building with --enable-standards.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sun, 13 Jun 2010 13:50:48 +0000
(15:50 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sun, 13 Jun 2010 13:50:48 +0000
(15:50 +0200)
src/bind.c
patch
|
blob
|
history
diff --git
a/src/bind.c
b/src/bind.c
index
6388774
..
6e0b907
100644
(file)
--- a/
src/bind.c
+++ b/
src/bind.c
@@
-21,7
+21,11
@@
* Florian Forster <octo at verplant.org>
**/
-#define _XOPEN_SOURCE 600 /* glibc2 needs this for strptime */
+#include "config.h"
+
+#ifndef _XOPEN_SOURCE
+# define _XOPEN_SOURCE 600 /* glibc2 needs this for strptime */
+#endif
#include "collectd.h"
#include "common.h"