From 7d2c6544020d6864593bfcad284ca17faa337739 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 13 Jun 2010 15:50:48 +0200 Subject: [PATCH] bind plugin: Fix building with --enable-standards. --- src/bind.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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" -- 2.30.2