From 92d52576b5df177cb233fcdbbb2ba3240d2f62bc Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Tue, 9 Aug 1994 19:00:28 +0000 Subject: [PATCH] string/strings fixes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4093 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/popper/configure.in | 1 + src/appl/popper/pop_dropcopy.c | 6 +++++- src/appl/popper/pop_dropinfo.c | 6 +++++- src/appl/popper/pop_msg.c | 6 +++++- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/appl/popper/configure.in b/src/appl/popper/configure.in index f9eab3f27..fb5862983 100644 --- a/src/appl/popper/configure.in +++ b/src/appl/popper/configure.in @@ -15,6 +15,7 @@ AC_COMPILE_CHECK([POSIX file locking -- structs and flags], [struct flock f; 1+F_SETLK;], AC_DEFINE(POSIX_FILE_LOCKS))) +AC_HAVE_HEADERS(strings.h) AC_HEADER_CHECK(unistd.h,AC_DEFINE(HAS_UNISTD_H)) AC_HEADER_CHECK(paths.h,AC_DEFINE(HAS_PATHS_H)) diff --git a/src/appl/popper/pop_dropcopy.c b/src/appl/popper/pop_dropcopy.c index 0acb16d67..6c93f77f2 100644 --- a/src/appl/popper/pop_dropcopy.c +++ b/src/appl/popper/pop_dropcopy.c @@ -7,7 +7,7 @@ #ifndef lint static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n"; static char SccsId[] = "@(#)pop_dropcopy.c 2.6 4/3/91"; -#endif not lint +#endif #include #include @@ -18,7 +18,11 @@ static char SccsId[] = "@(#)pop_dropcopy.c 2.6 4/3/91"; #include #endif #include +#ifdef HAVE_STRINGS_H #include +#else +#include +#endif #include #include #include diff --git a/src/appl/popper/pop_dropinfo.c b/src/appl/popper/pop_dropinfo.c index 827f282e6..c46da13e4 100644 --- a/src/appl/popper/pop_dropinfo.c +++ b/src/appl/popper/pop_dropinfo.c @@ -7,12 +7,16 @@ #ifndef lint static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n"; static char SccsId[] = "@(#)pop_dropinfo.c 2.1 3/18/91"; -#endif not lint +#endif #include #include #include +#ifdef HAVE_STRINGS_H #include +#else +#include +#endif #include #include #include "popper.h" diff --git a/src/appl/popper/pop_msg.c b/src/appl/popper/pop_msg.c index 839cb39bf..14ff52f10 100644 --- a/src/appl/popper/pop_msg.c +++ b/src/appl/popper/pop_msg.c @@ -7,11 +7,15 @@ #ifndef lint static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n"; static char SccsId[] = "@(#)pop_msg.c 2.1 3/18/91"; -#endif not lint +#endif #include #include +#ifdef HAVE_STRINGS_H #include +#else +#include +#endif #include #include "popper.h" -- 2.26.2