Include stdlib.h if available for malloc prototype
authorEzra Peisach <epeisach@mit.edu>
Tue, 21 Oct 1997 13:05:08 +0000 (13:05 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 21 Oct 1997 13:05:08 +0000 (13:05 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10238 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb4/ChangeLog
src/lib/krb4/kparse.c

index 08d828d996ec0660e536e4a180ddf22c4746c77d..f9c2b8c0cd4a4b01492246b41e89680e38f4917e 100644 (file)
@@ -1,3 +1,7 @@
+Tue Oct 21 09:02:51 1997  Ezra Peisach  <epeisach@mit.edu>
+
+       * kparse.c: Include stdlib.h if present (for malloc prototyp)
+
 Tue Sep 30 19:00:33 1997  Tom Yu  <tlyu@mit.edu>
 
        * tkt_string.c: Replace HAS_STDLIB_H with something more sane.
index 811f0bf39117cb05d0e2fa921413d9b3e3f95ea8..98e48fbd90d73e7aa6ae4c029ca9765f1c86d3f5 100644 (file)
@@ -38,6 +38,9 @@
 #include <ctype.h>
 #include <kparse.h>
 #include <string.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
 
 #ifndef FALSE
 #define FALSE 0