From b1fb1c997a8ea1ddd7624c61626f4aa19ca7fdda Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 8 Jul 2000 11:05:05 +0000 Subject: [PATCH] add krb5_locl.h (since we just use some stuff from there) git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8575 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kadmin/kadmin_locl.h | 2 ++ kdc/headers.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/kadmin/kadmin_locl.h b/kadmin/kadmin_locl.h index d67ae5ba8..371198484 100644 --- a/kadmin/kadmin_locl.h +++ b/kadmin/kadmin_locl.h @@ -75,6 +75,7 @@ #include #include #include +#include #include #include #include @@ -106,6 +107,7 @@ DECL(dump); DECL(load); DECL(merge); +#undef ALLOC #define ALLOC(X) ((X) = malloc(sizeof(*(X)))) /* util.c */ diff --git a/kdc/headers.h b/kdc/headers.h index ce0fa2c41..e0b2a10fb 100644 --- a/kdc/headers.h +++ b/kdc/headers.h @@ -81,6 +81,7 @@ #include #include #include +#include #include #include #include /* copy_octet_string */ @@ -92,6 +93,7 @@ #include #endif +#undef ALLOC #define ALLOC(X) ((X) = malloc(sizeof(*(X)))) #define ALLOC_SEQ(X, N) do { (X)->len = (N); \ (X)->val = calloc((X)->len, sizeof(*(X)->val)); } while(0)