From 2a05544ff45f4bbb1ddc271fb25ec2684f472672 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Sun, 14 Aug 1994 04:57:45 +0000 Subject: [PATCH] stdlib.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4145 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/asn.1/ChangeLog | 4 ++++ src/lib/krb5/asn.1/krbasn1.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/asn.1/ChangeLog b/src/lib/krb5/asn.1/ChangeLog index ab5809219..d984b68e9 100644 --- a/src/lib/krb5/asn.1/ChangeLog +++ b/src/lib/krb5/asn.1/ChangeLog @@ -1,3 +1,7 @@ +Sat Aug 13 03:40:16 1994 Mark Eichin (eichin@perdiem) + + * krbasn1.h: include stdlib.h for calloc declaration (if we can) + Thu Aug 11 00:38:10 1994 Theodore Y. Ts'o (tytso@dcl) * asn1_encode_k.c (asn1_encode_kdc_req): Add extra argument which diff --git a/src/lib/krb5/asn.1/krbasn1.h b/src/lib/krb5/asn.1/krbasn1.h index 25489a975..ec58ac2d2 100644 --- a/src/lib/krb5/asn.1/krbasn1.h +++ b/src/lib/krb5/asn.1/krbasn1.h @@ -5,7 +5,9 @@ #include #include #include - +#ifdef HAS_STDLIB_H +#include +#endif /* The current version of {en,de}code_krb5_enc_kdc_rep_part has a problem in that there's no way to know the message type (AS/TGS) of a krb5_enc_kdc_rep_part. This should be fixed in the next version -- 2.26.2