X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fbind.c;h=6e0b907f1e89203150a554b76ea0fc93312de211;hb=7d2c6544020d6864593bfcad284ca17faa337739;hp=638877472ea43b6908729e99a36a1b1fa242a72b;hpb=93d32dedac1cea88e5a9bd335a6413e040ed3566;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"