summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-11-27 07:09:06 +0000
committerAndrew Tridgell <tridge@samba.org>2001-11-27 07:09:06 +0000
commit4b89fdecfcf384e7434470a9dcc963f9d96498d1 (patch)
tree3468d274dbbab862f8015c770a4b167c39f71cd2 /source
parent014b0973a3b3b9eb22cce3053171fa55f5c16a63 (diff)
downloadsamba-4b89fdecfcf384e7434470a9dcc963f9d96498d1.tar.gz
samba-4b89fdecfcf384e7434470a9dcc963f9d96498d1.tar.xz
samba-4b89fdecfcf384e7434470a9dcc963f9d96498d1.zip
sigh.
some systems have libkrb5 but not krb5.h
Diffstat (limited to 'source')
-rw-r--r--source/include/includes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index f0ab1a2c216..0a3fd1f4c0a 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -377,7 +377,7 @@
#include <iconv.h>
#endif
-#if HAVE_KRB5
+#if HAVE_KRB5_H
#include <krb5.h>
#endif
@@ -390,7 +390,7 @@
#endif
/* we support ADS if we have krb5 and ldap libs */
-#if defined(HAVE_KRB5) && defined(HAVE_LDAP) && defined(HAVE_LDAP_H) && defined(HAVE_SASL_H)
+#if defined(HAVE_KRB5) && defined(HAVE_KRB5_H) && defined(HAVE_LDAP) && defined(HAVE_LDAP_H) && defined(HAVE_SASL_H)
#define HAVE_ADS
#endif