From: djm Date: Mon, 21 Oct 2002 00:50:25 +0000 (+0000) Subject: - (djm) Bug #317: FreeBSD needs libutil.h for openpty() Report from X-Git-Tag: V_3_6_P1~152 X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/commitdiff_plain/cacd2e7a630aa000395dac414bd8c7ede7ccdb04 - (djm) Bug #317: FreeBSD needs libutil.h for openpty() Report from dirk.meyer@dinoex.sub.org --- diff --git a/ChangeLog b/ChangeLog index 6bda3a73..85ffdd1f 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. diff --git a/includes.h b/includes.h index d7b875c5..37d402ef 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"