Depending on the platform, krb5.h may be available as #include <krb5.h> or #include <krb5/krb5.h>
We were properly testing for this in krb5_common.h, but not in sdap_async.c -- Stephen Gallagher RHCE 804006346421761 Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/
From ad18f11334abee889bb042130aa4cd8869b15803 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher <sgall...@redhat.com> Date: Wed, 4 Nov 2009 12:22:01 -0500 Subject: [PATCH] Properly wrap #include <krb5.h> Depending on the platform, krb5.h may be available as #include <krb5.h> or #include <krb5/krb5.h> We were properly testing for this in krb5_common.h, but not in sdap_async.c --- server/providers/ldap/sdap_async.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/server/providers/ldap/sdap_async.c b/server/providers/ldap/sdap_async.c index dfdd267..bef8b68 100644 --- a/server/providers/ldap/sdap_async.c +++ b/server/providers/ldap/sdap_async.c @@ -20,7 +20,13 @@ */ #include <ctype.h> #include <sasl/sasl.h> + +#include "config.h" +#ifdef HAVE_KRB5_KRB5_H #include <krb5/krb5.h> +#else +#include <krb5.h> +#endif #include "db/sysdb.h" #include "providers/ldap/sdap_async.h" -- 1.6.2.5
signature.asc
Description: OpenPGP digital signature
_______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel