summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
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
commitb1cf8f6cdafe1e9f6c2140617d42178bf5d4cf24 (patch)
tree2f9124caa03d8fe1918a1832b844ef64ce6cd652 /source3/include/includes.h
parent064b3e7da7adfae06eae459e54ae0853924a4e4b (diff)
downloadsamba-b1cf8f6cdafe1e9f6c2140617d42178bf5d4cf24.tar.gz
samba-b1cf8f6cdafe1e9f6c2140617d42178bf5d4cf24.tar.bz2
samba-b1cf8f6cdafe1e9f6c2140617d42178bf5d4cf24.zip
sigh.
some systems have libkrb5 but not krb5.h (This used to be commit 4b89fdecfcf384e7434470a9dcc963f9d96498d1)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index f0ab1a2c21..0a3fd1f4c0 100644
--- a/source3/include/includes.h
+++ b/source3/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