diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-05-23 14:58:29 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-05-23 15:32:07 -0400 |
commit | 0fc334e130cb3ca30c29c2f5d8c378393ad0d072 (patch) | |
tree | 266d12895c7c7ab97cdf7aa1225f23cf01a0dd40 /src/util/util.h | |
parent | f8daa2e724b2964d00160a01786e331a33df5467 (diff) | |
download | sssd-0fc334e130cb3ca30c29c2f5d8c378393ad0d072.tar.gz sssd-0fc334e130cb3ca30c29c2f5d8c378393ad0d072.tar.bz2 sssd-0fc334e130cb3ca30c29c2f5d8c378393ad0d072.zip |
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.
Diffstat (limited to 'src/util/util.h')
-rw-r--r-- | src/util/util.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 <stdio.h> #include <stdint.h> #include <stdbool.h> @@ -36,8 +37,6 @@ #include <sys/types.h> #include <sys/stat.h> -#include "config.h" - #include <talloc.h> #include <tevent.h> #include <ldb.h> |