summaryrefslogtreecommitdiff
path: root/nslcd/myldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'nslcd/myldap.c')
-rw-r--r--nslcd/myldap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nslcd/myldap.c b/nslcd/myldap.c
index ac25c35..afbc898 100644
--- a/nslcd/myldap.c
+++ b/nslcd/myldap.c
@@ -62,10 +62,10 @@
#ifdef HAVE_GSSSASL_H
#include <gsssasl.h>
#endif
-/* Try to handle systems with both SASL libraries installed */
-#if defined(HAVE_SASL_SASL_H) && defined(HAVE_SASL_AUXPROP_REQUEST)
+#ifdef HAVE_SASL_SASL_H
#include <sasl/sasl.h>
-#elif defined(HAVE_SASL_H)
+#endif
+#ifdef HAVE_SASL_H
#include <sasl.h>
#endif
#include <ctype.h>