From 0fc334e130cb3ca30c29c2f5d8c378393ad0d072 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 23 May 2011 14:58:29 -0400 Subject: Import config.h earlier On RHEL 5 and other older platforms, failing to set _GNU_SOURCE early would cause some functions - such as strndup() - to be unavailable. --- src/monitor/monitor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/monitor') diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index 5559bd9ab..d1f2e6610 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -19,13 +19,13 @@ along with this program. If not, see . */ +#include "util/util.h" #include #include #include #include #include #include -#include "config.h" #ifdef HAVE_SYS_INOTIFY_H #include #endif @@ -39,7 +39,6 @@ #include #include -#include "util/util.h" #include "popt.h" #include "tevent.h" #include "confdb/confdb.h" -- cgit