FreeBSD 5.3 fix
This commit is contained in:
parent
fc985db88c
commit
167e9eb184
@ -69,6 +69,9 @@ v0.71.2 16-Jan-2005
|
|||||||
symlinks in runlevel 4 if the directory /etc/rc.d/rc4.d didn't
|
symlinks in runlevel 4 if the directory /etc/rc.d/rc4.d didn't
|
||||||
exist.
|
exist.
|
||||||
|
|
||||||
|
unix:
|
||||||
|
Fixed compiling under FreeBSD 5.3.
|
||||||
|
|
||||||
|
|
||||||
v0.71.1 28-Nov-2004 - 16-Jan-2005
|
v0.71.1 28-Nov-2004 - 16-Jan-2005
|
||||||
|
|
||||||
|
@ -252,3 +252,6 @@
|
|||||||
|
|
||||||
/* Define if Del != 207 */
|
/* Define if Del != 207 */
|
||||||
#define GBK_DEL @GBK_DEL@
|
#define GBK_DEL @GBK_DEL@
|
||||||
|
|
||||||
|
/* Define if you have the <crypt.h> header file. */
|
||||||
|
#undef HAVE_CRYPT_H
|
||||||
|
3
configure
vendored
3
configure
vendored
@ -5898,7 +5898,8 @@ done
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
for ac_header in sys/resource.h usersec.h gshadow.h shadow.h
|
|
||||||
|
for ac_header in sys/resource.h usersec.h gshadow.h shadow.h crypt.h
|
||||||
do
|
do
|
||||||
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||||
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
||||||
|
@ -223,7 +223,7 @@ AC_HEADER_TIME
|
|||||||
AC_HEADER_SYS_WAIT
|
AC_HEADER_SYS_WAIT
|
||||||
AC_CHECK_HEADERS(termios.h sys/termios.h termio.h sys/termio.h sgtty.h)
|
AC_CHECK_HEADERS(termios.h sys/termios.h termio.h sys/termio.h sgtty.h)
|
||||||
AC_CHECK_HEADERS(sys/time.h sys/vfs.h unistd.h netinet/in.h regex.h)
|
AC_CHECK_HEADERS(sys/time.h sys/vfs.h unistd.h netinet/in.h regex.h)
|
||||||
AC_CHECK_HEADERS(sys/resource.h usersec.h gshadow.h shadow.h)
|
AC_CHECK_HEADERS(sys/resource.h usersec.h gshadow.h shadow.h crypt.h)
|
||||||
AC_CHECK_HEADERS(limits.h utmp.h utmpx.h lastlog.h rpc/key_prot.h)
|
AC_CHECK_HEADERS(limits.h utmp.h utmpx.h lastlog.h rpc/key_prot.h)
|
||||||
AC_STRUCT_TIMEZONE
|
AC_STRUCT_TIMEZONE
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#ifdef _XOPEN_CRYPT
|
#ifdef HAVE_CRYPT_H
|
||||||
#include <crypt.h>
|
#include <crypt.h>
|
||||||
#endif
|
#endif
|
||||||
#include "encrypt.h"
|
#include "encrypt.h"
|
||||||
|
Reference in New Issue
Block a user