]> granicus.if.org Git - sudo/commitdiff
now includes limits.h
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 22 Feb 1996 21:27:02 +0000 (21:27 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 22 Feb 1996 21:27:02 +0000 (21:27 +0000)
moved _PASSWD_LEN -> compat.h

tgetpass.c

index 053bca6c487d2bcc3d2aef0441cfac9db99147c4..437f43e33b969787086cb94c4f666ea920c4bea8 100644 (file)
@@ -42,6 +42,7 @@ static char rcsid[] = "$Id$";
 #ifdef HAVE_STRINGS_H
 #include <strings.h>
 #endif /* HAVE_STRINGS_H */
+#include <limits.h>
 #include <pwd.h>
 #include <sys/types.h>
 #ifdef HAVE_SYS_BSDTYPES_H
@@ -67,14 +68,6 @@ static char rcsid[] = "$Id$";
 #include <pathnames.h>
 #include "compat.h"
 
-#ifndef _PASSWD_LEN
-#  ifdef HAVE_C2_SECURITY
-#    define    _PASSWD_LEN     24
-#  else
-#    define    _PASSWD_LEN     8
-#  endif /* HAVE_C2_SECURITY */
-#endif /* _PASSWD_LEN */
-
 
 /******************************************************************
  *