summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-11-26 10:15:45 +0100
committerGünther Deschner <gd@samba.org>2009-11-26 10:15:45 +0100
commit5b3a32be97a37c119e837bdee8f049684565458c (patch)
treed9310bedfa264920fb73b5e446fc6fc9077b68f2 /nsswitch
parent60419a0eb72c2e07c4b882727b2ccb01b73c52e6 (diff)
downloadsamba-5b3a32be97a37c119e837bdee8f049684565458c.tar.gz
samba-5b3a32be97a37c119e837bdee8f049684565458c.tar.bz2
samba-5b3a32be97a37c119e837bdee8f049684565458c.zip
s3-kerberos: next step to resolve Bug #6929: build with recent heimdal.
Based on patch from Allan <allan@archlinux.org>. Also should fix the FreeBSD build on the buildfarm. Guenther
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/winbind_krb5_locator.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/nsswitch/winbind_krb5_locator.c b/nsswitch/winbind_krb5_locator.c
index 272e7dbab1..db6e8d0d6c 100644
--- a/nsswitch/winbind_krb5_locator.c
+++ b/nsswitch/winbind_krb5_locator.c
@@ -26,7 +26,11 @@
#if defined(HAVE_KRB5) && defined(HAVE_KRB5_LOCATE_PLUGIN_H)
-#include <krb5/krb5.h>
+#if HAVE_COM_ERR_H
+#include <com_err.h>
+#endif
+
+#include <krb5.h>
#include <krb5/locate_plugin.h>
#ifndef KRB5_PLUGIN_NO_HANDLE