+Sat May 20 22:33:58 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * kadm_stream.c: Based on presence of stdlib.h, include or declare
+ malloc.
+
+ * configure.in: Check for stdlib.h
+
Sun May 7 13:49:54 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* admin_server.c: Avoid warning of redeclaring POSIX_SIGNALS if
AC_CHECK_LIB(ndbm,main)
AC_CHECK_LIB(dbm,main)
AC_HAVE_HEADERS(unistd.h)
+dnl Could check for full stdc environment, but will only test
+dnl for stdlib.h
+AC_HEADER_CHECK(stdlib.h,AC_DEFINE(HAS_STDLIB_H))
CHECK_WAIT_TYPE
CHECK_FCNTL
CHECK_SIGNALS
#include <mit-copyright.h>
#include <string.h>
+
+#ifdef HAS_STDLIB_H
+#include <stdlib.h>
+#else
+extern char *malloc(), *calloc(), *realloc();
+#endif
+
/*
kadm_stream.c
this holds the stream support routines for the kerberos administration server