diff options
author | Theodore Tso <tytso@mit.edu> | 1995-06-22 18:51:04 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1995-06-22 18:51:04 +0000 |
commit | d84d59a45a9203ba179a213f5d2281be4da07b00 (patch) | |
tree | 5d1060e3a895688c64ecc7be895d2e305b1b5748 /src/appl/bsd/krsh.c | |
parent | b330f36dfa8aaadbbf102ff44b551bac829cfac4 (diff) | |
download | krb5-d84d59a45a9203ba179a213f5d2281be4da07b00.tar.gz krb5-d84d59a45a9203ba179a213f5d2281be4da07b00.tar.xz krb5-d84d59a45a9203ba179a213f5d2281be4da07b00.zip |
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
Diffstat (limited to 'src/appl/bsd/krsh.c')
-rw-r--r-- | src/appl/bsd/krsh.c | 10 |
1 files changed, 8 insertions, 2 deletions
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 <netinet/in.h> -#include <stdio.h> +#ifdef HAVE_STDLIB_H +#include <stdlib.h> +#endif +#ifdef HAVE_STRING_H #include <string.h> +#else +#include <strings.h> +#endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif +#include <stdio.h> #include <errno.h> #include <signal.h> #include <pwd.h> @@ -58,7 +65,6 @@ char copyright[] = #include "krb5.h" #include "com_err.h" #include "defines.h" -#include "ext-proto.h" #endif /* KERBEROS */ /* |