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/util/util.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/util') diff --git a/src/util/util.h b/src/util/util.h index ac6704ae..4b6f3b78 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -21,6 +21,7 @@ #ifndef __SSSD_UTIL_H__ #define __SSSD_UTIL_H__ +#include "config.h" #include #include #include @@ -36,8 +37,6 @@ #include #include -#include "config.h" - #include #include #include -- cgit