summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/appl/popper/configure.in1
-rw-r--r--src/appl/popper/pop_dropcopy.c6
-rw-r--r--src/appl/popper/pop_dropinfo.c6
-rw-r--r--src/appl/popper/pop_msg.c6
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 <errno.h>
#include <stdio.h>
@@ -18,7 +18,11 @@ static char SccsId[] = "@(#)pop_dropcopy.c 2.6 4/3/91";
#include <fcntl.h>
#endif
#include <sys/types.h>
+#ifdef HAVE_STRINGS_H
#include <strings.h>
+#else
+#include <string.h>
+#endif
#include <sys/stat.h>
#include <sys/file.h>
#include <pwd.h>
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 <errno.h>
#include <stdio.h>
#include <sys/types.h>
+#ifdef HAVE_STRINGS_H
#include <strings.h>
+#else
+#include <string.h>
+#endif
#include <sys/stat.h>
#include <sys/file.h>
#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 <stdio.h>
#include <sys/types.h>
+#ifdef HAVE_STRINGS_H
#include <strings.h>
+#else
+#include <string.h>
+#endif
#include <varargs.h>
#include "popper.h"