strlen and memcpy definitions
configure.in: Check for stdlib.h.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6185
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Jun 28 13:27:17 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * sim_client.c: Include stdlib.h or declare malloc.
+ Include string.h for strlen and memcpy defintions.
+
+ * configure.in: Check for stdlib.h.
Thu Jun 15 17:39:54 EDT 1995 Paul Park (pjpark@mit.edu)
* Makefile.in - Change explicit library names to -l<lib> form, and
AC_INIT(sim_client.c)
CONFIG_RULES
AC_PROG_INSTALL
+AC_CHECK_HEADERS(stdlib.h)
V5_USE_SHARED_LIB
V5_AC_OUTPUT_MAKEFILE
#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>
+#include <string.h>
#include <ctype.h>
#include <krb5.h>
#include "simple.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#else
+extern char *malloc();
+#endif
+
/* for old Unixes and friends ... */
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 64