From d84d59a45a9203ba179a213f5d2281be4da07b00 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 22 Jun 1995 18:51:04 +0000 Subject: configure.in: Change AC_HAVE_HEADERS with AC_CHECK_HEADERS, and check for string.h as well. krsh.c: Don't include ext-proto.h; move the #include of the header files which we actually needed into krsh.c, using the autoconf standard define's. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6125 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/krsh.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/appl/bsd/krsh.c') diff --git a/src/appl/bsd/krsh.c b/src/appl/bsd/krsh.c index 74e4f0dc30..04eb369888 100644 --- a/src/appl/bsd/krsh.c +++ b/src/appl/bsd/krsh.c @@ -35,11 +35,18 @@ char copyright[] = #include -#include +#ifdef HAVE_STDLIB_H +#include +#endif +#ifdef HAVE_STRING_H #include +#else +#include +#endif #ifdef HAVE_UNISTD_H #include #endif +#include #include #include #include @@ -58,7 +65,6 @@ char copyright[] = #include "krb5.h" #include "com_err.h" #include "defines.h" -#include "ext-proto.h" #endif /* KERBEROS */ /* -- cgit