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/sss_client | |
parent | f8daa2e724b2964d00160a01786e331a33df5467 (diff) | |
download | sssd-0fc334e130cb3ca30c29c2f5d8c378393ad0d072.tar.gz sssd-0fc334e130cb3ca30c29c2f5d8c378393ad0d072.tar.xz 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/sss_client')
-rw-r--r-- | src/sss_client/pam_sss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sss_client/pam_sss.c b/src/sss_client/pam_sss.c index d54c0251f..81e88139a 100644 --- a/src/sss_client/pam_sss.c +++ b/src/sss_client/pam_sss.c @@ -24,6 +24,7 @@ #define PAM_SM_SESSION #define PAM_SM_PASSWORD +#include "config.h" #include <sys/types.h> #include <unistd.h> #include <stdlib.h> @@ -46,7 +47,6 @@ #include <libintl.h> #define _(STRING) dgettext (PACKAGE, STRING) -#include "config.h" #define FLAGS_USE_FIRST_PASS (1 << 0) #define FLAGS_FORWARD_PASS (1 << 1) |