Index: heimdal/kdc/digest-service.c
===================================================================
--- heimdal.orig/kdc/digest-service.c	2011-04-12 09:35:55.423291371 +1000
+++ heimdal/kdc/digest-service.c	2011-04-12 09:36:32.221235598 +1000
@@ -48,6 +48,7 @@
 
 krb5_kdc_configuration *config;
 
+#if __APPLE__
 static void
 ntlm_service(void *ctx, const heim_idata *req,
 	     const heim_icred cred,
@@ -213,6 +214,7 @@
     if (user)
 	_kdc_free_ent (context, user);
 }
+#endif
 
 static int help_flag;
 static int version_flag;
