summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/asn.1/ChangeLog4
-rw-r--r--src/lib/krb5/asn.1/krbasn1.h4
2 files changed, 7 insertions, 1 deletions
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 <stdio.h>
#include <errno.h>
#include <limits.h>
-
+#ifdef HAS_STDLIB_H
+#include <stdlib.h>
+#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