now includes limits.h
moved _PASSWD_LEN -> compat.h
This commit is contained in:
@@ -42,6 +42,7 @@ static char rcsid[] = "$Id$";
|
|||||||
#ifdef HAVE_STRINGS_H
|
#ifdef HAVE_STRINGS_H
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
#endif /* HAVE_STRINGS_H */
|
#endif /* HAVE_STRINGS_H */
|
||||||
|
#include <limits.h>
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#ifdef HAVE_SYS_BSDTYPES_H
|
#ifdef HAVE_SYS_BSDTYPES_H
|
||||||
@@ -67,14 +68,6 @@ static char rcsid[] = "$Id$";
|
|||||||
#include <pathnames.h>
|
#include <pathnames.h>
|
||||||
#include "compat.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 */
|
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user