From: Mark Eichin Date: Tue, 9 Aug 1994 17:12:29 +0000 (+0000) Subject: handle stdlib, malloc X-Git-Tag: krb5-1.0-beta4.2~28 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=04bc43572f090716731d84d9282bf6c0f8f7a69d;p=krb5.git handle stdlib, malloc git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4090 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/et/configure.in b/src/util/et/configure.in index 093511251..f5200944c 100644 --- a/src/util/et/configure.in +++ b/src/util/et/configure.in @@ -8,5 +8,6 @@ AC_PROG_RANLIB HAVE_YYLINENO DECLARE_SYS_ERRLIST CHECK_STDARG +AC_HAVE_HEADERS(stdlib.h) CopySrcHeader(com_err.h,$(BUILDTOP)/include) AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/util/et/error_table.y b/src/util/et/error_table.y index 03e705653..f411d3ff8 100644 --- a/src/util/et/error_table.y +++ b/src/util/et/error_table.y @@ -1,12 +1,8 @@ %{ #include char *str_concat(), *ds(), *quote(); -#ifndef __STDC__ -#ifdef _AIX +#ifdef HAVE_STDLIB_H #include -#else -char *malloc(), *realloc(); -#endif #endif char *current_token = (char *)NULL; extern char *table_name;