From 7b3f58cbcd1e30d02292b5574aaa3e2486288ec2 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 21 Oct 2002 10:50:25 +1000 Subject: - (djm) Bug #317: FreeBSD needs libutil.h for openpty() Report from dirk.meyer@dinoex.sub.org --- ChangeLog | 7 ++++--- includes.h | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9a01c2317..51bfea7f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 20021021 - - (djm) Kill ssh-rand-helper children on timeout, patch from - dtucker@zip.com.au + - (djm) Bug #317: FreeBSD needs libutil.h for openpty() Report from + dirk.meyer@dinoex.sub.org + - (djm) Bug #317: FreeBSD needs libutil.h for openpty() 20021015 - (bal) Fix bug id 383 and only call loginrestrict for AIX if not root. @@ -772,4 +773,4 @@ save auth method before monitor_reset_key_state(); bugzilla bug #284; ok provos@ -$Id: ChangeLog,v 1.2497 2002/10/21 00:13:35 djm Exp $ +$Id: ChangeLog,v 1.2498 2002/10/21 00:50:25 djm Exp $ diff --git a/includes.h b/includes.h index d7b875c52..37d402ef4 100644 --- a/includes.h +++ b/includes.h @@ -157,6 +157,10 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } # include #endif +#ifdef HAVE_LIBUTIL_H +# include /* Openpty on FreeBSD at least */ +#endif + #include /* For OPENSSL_VERSION_NUMBER */ #include "defines.h" -- cgit v1.2.3