--- lib/krb5/locate_plugin.h	2009-11-22 01:41:51.000000000 +1000
+++ lib/krb5/locate_plugin.h	2009-11-25 15:04:30.000000000 +1000
@@ -36,6 +36,8 @@
 #ifndef HEIMDAL_KRB5_LOCATE_PLUGIN_H
 #define HEIMDAL_KRB5_LOCATE_PLUGIN_H 1
 
+#include <krb5.h>
+
 #define KRB5_PLUGIN_LOCATE "service_locator"
 
 enum locate_service_type {
