string/strings fixes
authorMark Eichin <eichin@mit.edu>
Tue, 9 Aug 1994 19:34:02 +0000 (19:34 +0000)
committerMark Eichin <eichin@mit.edu>
Tue, 9 Aug 1994 19:34:02 +0000 (19:34 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4095 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/popper/pop_enter.c
src/appl/popper/pop_get_command.c
src/appl/popper/pop_get_subcommand.c
src/appl/popper/pop_pass.c
src/appl/popper/pop_send.c
src/appl/popper/pop_updt.c
src/appl/popper/pop_user.c

index c78656b6323906a42947eb29b910ce3165b89b7a..5bc69bad379e5dad50b5e0023e2923e2931ce3a4 100644 (file)
@@ -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>
index ba13a42e31a2d88b2a347ffbb4a03df0fc769723..ebe962d82463afa82b092cb35d3a1041cb906079 100644 (file)
@@ -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"
 
 /* 
index b79c9aeaa5aa52129a9e95a8306b3d9408b3dd8d..508d3a39cbb69604fe589a5428abd40e0e7f0815 100644 (file)
@@ -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"
 
 /* 
index b2cc3b2b6de27753c1c7a3c5697905c238d7dc8c..3364a633f70b0a7efc4b09aa2ea5b97f4b64572b 100644 (file)
@@ -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"
 
index c356a610cc272a4ba1e5ea37dbbc3e63ce0f5d4b..bcfb10cb2a8201c3d3c9d12dbc65e523b072d491 100644 (file)
@@ -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"
 
 /* 
index 38cbdaf289fee96313adb4ce2d912588f1f6550c..f10730ac71b8d5fca25bb0d363c253631f7e0bbf 100644 (file)
@@ -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"
index 6559e6a9831d967c775a262c47e2fe8860b29a92..26b9260ab93515f1c599aa19705554452f0a0453 100644 (file)
@@ -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