summaryrefslogtreecommitdiff
path: root/src/sss_client
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-05-23 14:58:29 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-05-23 15:32:07 -0400
commit0fc334e130cb3ca30c29c2f5d8c378393ad0d072 (patch)
tree266d12895c7c7ab97cdf7aa1225f23cf01a0dd40 /src/sss_client
parentf8daa2e724b2964d00160a01786e331a33df5467 (diff)
downloadsssd-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/sss_client')
-rw-r--r--src/sss_client/pam_sss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sss_client/pam_sss.c b/src/sss_client/pam_sss.c
index d54c0251..81e88139 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)