* secure.c, pclose.c, ruserpass.c, ftp.c: Include stdlib.h if
present for malloc declarations.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7453
dc483132-0cff-0310-8789-
dd5450dbe970
+Mon Feb 5 09:06:16 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * configure.in: Check for stdlib.h
+
+ * secure.c, pclose.c, ruserpass.c, ftp.c: Include stdlib.h if
+ present for malloc declarations.
+
Thu Jan 18 18:33:18 1996 Sam Hartman <hartmans@zygorthian-space-raiders.MIT.EDU>
* cmds.c: Handle sys_errlist and remove declaration of errno.
AC_HAVE_FUNCS(getcwd getdtablesize)
AC_CHECK_HEADERS(sys/select.h)
AC_HEADER_CHECK(termios.h,AC_FUNC_CHECK(cfsetispeed,AC_DEFINE(POSIX_TERMIOS)))
+AC_CHECK_HEADERS(stdlib.h)
V5_USE_SHARED_LIB
V5_AC_OUTPUT_MAKEFILE
static char sccsid[] = "@(#)ftp.c 5.38 (Berkeley) 4/22/91";
#endif /* not lint */
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#endif /* not lint */
#include <stdio.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
#include <signal.h>
#include <sys/param.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
-#ifdef POSIX
+#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <ctype.h>
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
#include <sys/types.h>
#include <netinet/in.h>
#include <errno.h>