X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbind.c;h=6e0b907f1e89203150a554b76ea0fc93312de211;hb=ad28576277460fcd189380c4f965879f106b5311;hp=638877472ea43b6908729e99a36a1b1fa242a72b;hpb=658c85755ef1f4284228d1e5edbc4452a31bd944;p=collectd.git diff --git a/src/bind.c b/src/bind.c index 63887747..6e0b907f 100644 --- a/src/bind.c +++ b/src/bind.c @@ -21,7 +21,11 @@ * Florian Forster **/ -#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"