From ad18f11334abee889bb042130aa4cd8869b15803 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 4 Nov 2009 12:22:01 -0500 Subject: [PATCH] Properly wrap #include Depending on the platform, krb5.h may be available as #include or #include 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 #include + +#include "config.h" +#ifdef HAVE_KRB5_KRB5_H #include +#else +#include +#endif #include "db/sysdb.h" #include "providers/ldap/sdap_async.h" -- 1.6.2.5