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

src/kadmin/kpasswd/kpasswd.c

index 04c578f3fa7d31ad53f0523a25422d329d740d01..dc2706cc6a4ce7b76c382650ac1dcf143a9e5f98 100644 (file)
@@ -32,9 +32,6 @@ static char rcsid_kpasswd_c[] =
 #include <netinet/in.h>
 #include <netdb.h>
 #include <signal.h>
-#ifndef __convex__
-#include <strings.h>
-#endif
 
 #ifndef MAXPATHLEN
 #define MAXPATHLEN 1024
@@ -48,6 +45,11 @@ static char rcsid_kpasswd_c[] =
 #include <sys/stat.h>
 
 #include <krb5/krb5.h>
+#ifdef USE_STRING_H
+#include <string.h>
+#else
+#include <strings.h>
+#endif
 #include <krb5/kdb.h>
 #include <krb5/kdb_dbm.h>
 #include <krb5/ext-proto.h>