From 9c68158992c6d4be151ddee0ab218260101aade6 Mon Sep 17 00:00:00 2001 From: des Date: Thu, 23 Mar 2006 21:31:42 +0000 Subject: Fix utmp. There is some clever logic in configure.ac which attempts to determine whether struct utmp contains the ut_host and ut_time fields. Unfortunately, it reports a false negative for both on FreeBSD, and I didn't check the resulting config.h closely enough to catch the error. Noticed by: ache --- crypto/openssh/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/openssh/config.h b/crypto/openssh/config.h index 4b0f29e..fc1a45a 100644 --- a/crypto/openssh/config.h +++ b/crypto/openssh/config.h @@ -392,7 +392,7 @@ #define HAVE_HEADER_AD 1 /* Define if you have ut_host in utmp.h */ -/* #undef HAVE_HOST_IN_UTMP */ +#define HAVE_HOST_IN_UTMP 1 /* Define if you have ut_host in utmpx.h */ /* #undef HAVE_HOST_IN_UTMPX */ @@ -897,7 +897,7 @@ #define HAVE_TIME_H 1 /* Define if you have ut_time in utmp.h */ -/* #undef HAVE_TIME_IN_UTMP */ +#define HAVE_TIME_IN_UTMP 1 /* Define if you have ut_time in utmpx.h */ /* #undef HAVE_TIME_IN_UTMPX */ -- cgit v1.1