summaryrefslogtreecommitdiffstats
path: root/src/appl
diff options
context:
space:
mode:
authorMark Eichin <eichin@mit.edu>1994-08-09 19:34:02 +0000
committerMark Eichin <eichin@mit.edu>1994-08-09 19:34:02 +0000
commit1e11598ae2d2116a5e0347a9e89ed53d46705ebb (patch)
treedc28360930ad6194f19d829a43778eb2eb40f513 /src/appl
parent8a5e0ac9afae64e2e7baad4ede69bc6becdaf85e (diff)
downloadkrb5-1e11598ae2d2116a5e0347a9e89ed53d46705ebb.tar.gz
krb5-1e11598ae2d2116a5e0347a9e89ed53d46705ebb.tar.xz
krb5-1e11598ae2d2116a5e0347a9e89ed53d46705ebb.zip
string/strings fixes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4095 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl')
-rw-r--r--src/appl/popper/pop_enter.c4
-rw-r--r--src/appl/popper/pop_get_command.c6
-rw-r--r--src/appl/popper/pop_get_subcommand.c6
-rw-r--r--src/appl/popper/pop_pass.c6
-rw-r--r--src/appl/popper/pop_send.c6
-rw-r--r--src/appl/popper/pop_updt.c6
-rw-r--r--src/appl/popper/pop_user.c6
7 files changed, 34 insertions, 6 deletions
diff --git a/src/appl/popper/pop_enter.c b/src/appl/popper/pop_enter.c
index c78656b632..5bc69bad37 100644
--- a/src/appl/popper/pop_enter.c
+++ b/src/appl/popper/pop_enter.c
@@ -6,7 +6,11 @@
#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 <mit-copyright.h>
diff --git a/src/appl/popper/pop_get_command.c b/src/appl/popper/pop_get_command.c
index ba13a42e31..ebe962d824 100644
--- a/src/appl/popper/pop_get_command.c
+++ b/src/appl/popper/pop_get_command.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_get_command.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 "popper.h"
/*
diff --git a/src/appl/popper/pop_get_subcommand.c b/src/appl/popper/pop_get_subcommand.c
index b79c9aeaa5..508d3a39cb 100644
--- a/src/appl/popper/pop_get_subcommand.c
+++ b/src/appl/popper/pop_get_subcommand.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_get_subcommand.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 "popper.h"
/*
diff --git a/src/appl/popper/pop_pass.c b/src/appl/popper/pop_pass.c
index b2cc3b2b6d..3364a633f7 100644
--- a/src/appl/popper/pop_pass.c
+++ b/src/appl/popper/pop_pass.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_pass.c 2.3 4/2/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 <pwd.h>
#include "popper.h"
diff --git a/src/appl/popper/pop_send.c b/src/appl/popper/pop_send.c
index c356a610cc..bcfb10cb2a 100644
--- a/src/appl/popper/pop_send.c
+++ b/src/appl/popper/pop_send.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_send.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 "popper.h"
/*
diff --git a/src/appl/popper/pop_updt.c b/src/appl/popper/pop_updt.c
index 38cbdaf289..f10730ac71 100644
--- a/src/appl/popper/pop_updt.c
+++ b/src/appl/popper/pop_updt.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_updt.c 2.3 3/20/91";
-#endif not lint
+#endif
#include <errno.h>
#include <stdio.h>
@@ -18,7 +18,11 @@ static char SccsId[] = "@(#)pop_updt.c 2.3 3/20/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 "popper.h"
diff --git a/src/appl/popper/pop_user.c b/src/appl/popper/pop_user.c
index 6559e6a983..26b9260ab9 100644
--- a/src/appl/popper/pop_user.c
+++ b/src/appl/popper/pop_user.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_user.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 "popper.h"
#ifdef KERBEROS