Index: heimdal-1.5~pre2+git20110804/lib/hdb/hdb-ldap.c
===================================================================
--- heimdal-1.5~pre2+git20110804.orig/lib/hdb/hdb-ldap.c	2011-08-04 00:12:39.000000000 +0000
+++ heimdal-1.5~pre2+git20110804/lib/hdb/hdb-ldap.c	2011-08-13 12:51:47.495830530 +0000
@@ -40,6 +40,9 @@
 #include <ldap.h>
 #include <sys/un.h>
 #include <hex.h>
+// FIXME, no declaration of strptime
+// #include <time.h>
+extern char *strptime(const char *, const char *, struct tm *);
 
 static krb5_error_code LDAP__connect(krb5_context context, HDB *);
 static krb5_error_code LDAP_close(krb5_context context, HDB *);
