summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/heimdal_build/kpasswdd-glue.h3
-rw-r--r--source4/kdc/kpasswdd.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/source4/heimdal_build/kpasswdd-glue.h b/source4/heimdal_build/kpasswdd-glue.h
new file mode 100644
index 0000000000..2a7c3c0690
--- /dev/null
+++ b/source4/heimdal_build/kpasswdd-glue.h
@@ -0,0 +1,3 @@
+/* TODO: remove this file */
+#include "heimdal/lib/hcrypto/aes.h"
+#include "heimdal/lib/krb5/krb5-private.h"
diff --git a/source4/kdc/kpasswdd.c b/source4/kdc/kpasswdd.c
index 065777fc66..603332e69e 100644
--- a/source4/kdc/kpasswdd.c
+++ b/source4/kdc/kpasswdd.c
@@ -40,8 +40,7 @@
/* TODO: remove all SAMBA4_INTERNAL_HEIMDAL stuff from this file */
#ifdef SAMBA4_INTERNAL_HEIMDAL
-#include "heimdal/lib/hcrypto/aes.h"
-#include "heimdal/lib/krb5/krb5-private.h"
+#include "heimdal_build/kpasswdd-glue.h"
#endif
/* hold information about one kdc socket */