Include stdlib.h or declare malloc, calloc, realloc
authorEzra Peisach <epeisach@mit.edu>
Wed, 24 May 1995 11:18:41 +0000 (11:18 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 24 May 1995 11:18:41 +0000 (11:18 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5858 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin.old/kpasswd/networked.c

index e70e6f83f3d14d4e74da214e79f1951e7703577a..be2aa8491e4205f87def936bf086c00c4efe2766 100644 (file)
 #include <utmp.h>
 #include <pwd.h>
 
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#else
+extern char *malloc(), *calloc(), *realloc();
+#endif
+
 #ifndef MAXHOSTNAME
 #define MAXHOSTNAME 64
 #endif