FreeBSD 5.3 fix

This commit is contained in:
Michiel Broek 2005-04-12 17:25:42 +00:00
parent fc985db88c
commit 167e9eb184
5 changed files with 10 additions and 3 deletions

View File

@ -69,6 +69,9 @@ v0.71.2 16-Jan-2005
symlinks in runlevel 4 if the directory /etc/rc.d/rc4.d didn't
exist.
unix:
Fixed compiling under FreeBSD 5.3.
v0.71.1 28-Nov-2004 - 16-Jan-2005

View File

@ -252,3 +252,6 @@
/* Define if Del != 207 */
#define GBK_DEL @GBK_DEL@
/* Define if you have the <crypt.h> header file. */
#undef HAVE_CRYPT_H

3
configure vendored
View File

@ -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
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then

View File

@ -223,7 +223,7 @@ AC_HEADER_TIME
AC_HEADER_SYS_WAIT
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/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_STRUCT_TIMEZONE

View File

@ -64,7 +64,7 @@
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#ifdef _XOPEN_CRYPT
#ifdef HAVE_CRYPT_H
#include <crypt.h>
#endif
#include "encrypt.h"