From a916535a2793a11b68eb5a62b09f1e3adf6610e7 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 11 Feb 2002 09:39:15 +0000 Subject: [PATCH] Fix #include of sasl.h --- libraries/libldap/cyrus.c | 2 +- libraries/libldap/ldap-int.h | 2 +- libraries/liblutil/sasl.c | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libraries/libldap/cyrus.c b/libraries/libldap/cyrus.c index 9d8bdb32c2..8981598ae0 100644 --- a/libraries/libldap/cyrus.c +++ b/libraries/libldap/cyrus.c @@ -23,7 +23,7 @@ ldap_pvt_thread_mutex_t ldap_int_sasl_mutex; #endif -#ifdef HAVE_HEADER_SASL_SASL_H +#ifdef HAVE_SASL_SASL_H #include #else #include diff --git a/libraries/libldap/ldap-int.h b/libraries/libldap/ldap-int.h index f9ca6aee59..2b9df3da60 100644 --- a/libraries/libldap/ldap-int.h +++ b/libraries/libldap/ldap-int.h @@ -24,7 +24,7 @@ #ifdef HAVE_CYRUS_SASL /* the need for this should be removed */ -#ifdef HAVE_HEADER_SASL_SASL_H +#ifdef HAVE_SASL_SASL_H #include #else #include diff --git a/libraries/liblutil/sasl.c b/libraries/liblutil/sasl.c index 4ca35e054e..3f330ab1dd 100644 --- a/libraries/liblutil/sasl.c +++ b/libraries/liblutil/sasl.c @@ -13,7 +13,11 @@ #include #include +#ifdef HAVE_SASL_SASL_H +#include +#else #include +#endif #include #include "lutil_ldap.h" -- 2.39.5