summaryrefslogtreecommitdiff
path: root/nsswitch/winbind_krb5_locator.c
diff options
context:
space:
mode:
Diffstat (limited to 'nsswitch/winbind_krb5_locator.c')
-rw-r--r--nsswitch/winbind_krb5_locator.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/nsswitch/winbind_krb5_locator.c b/nsswitch/winbind_krb5_locator.c
index b9e35bdec5..db6e8d0d6c 100644
--- a/nsswitch/winbind_krb5_locator.c
+++ b/nsswitch/winbind_krb5_locator.c
@@ -26,6 +26,11 @@
#if defined(HAVE_KRB5) && defined(HAVE_KRB5_LOCATE_PLUGIN_H)
+#if HAVE_COM_ERR_H
+#include <com_err.h>
+#endif
+
+#include <krb5.h>
#include <krb5/locate_plugin.h>
#ifndef KRB5_PLUGIN_NO_HANDLE