From 9b08c23fa16152c9f6aecdff4c575564d948d742 Mon Sep 17 00:00:00 2001 From: mouring Date: Thu, 8 Apr 2004 05:11:03 +0000 Subject: [PATCH] - (bal) [monitor.c monitor_wrap.c] Second try. Put the zlib.h headers back and #undef TARGET_OS_MAC instead. (Bug report pending with Apple) --- ChangeLog | 2 ++ monitor.c | 4 ++-- monitor_wrap.c | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 714eb4a7..1a247735 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ 20040408 - (dtucker) [loginrec.c] Use UT_LINESIZE if available, prevents truncating pty name on Linux 2.6.x systems. Patch from jpe at eisenmenger.org. + - (bal) [monitor.c monitor_wrap.c] Second try. Put the zlib.h headers + back and #undef TARGET_OS_MAC instead. (Bug report pending with Apple) 20040407 - (dtucker) [session.c] Flush stdout after displaying loginmsg. From diff --git a/monitor.c b/monitor.c index d44f92d5..70403f2d 100644 --- a/monitor.c +++ b/monitor.c @@ -33,12 +33,12 @@ RCSID("$OpenBSD: monitor.c,v 1.55 2004/02/05 05:37:17 dtucker Exp $"); #include #endif -#include "zlib.h" /* XXX Moved due to conflict on MacOS/X */ - #include "ssh.h" #include "auth.h" #include "kex.h" #include "dh.h" +#undef TARGET_OS_MAC /* XXX Broken krb5 headers on Mac */ +#include "zlib.h" #include "packet.h" #include "auth-options.h" #include "sshpty.h" diff --git a/monitor_wrap.c b/monitor_wrap.c index 9e0417bd..fc506d26 100644 --- a/monitor_wrap.c +++ b/monitor_wrap.c @@ -30,8 +30,6 @@ RCSID("$OpenBSD: monitor_wrap.c,v 1.35 2003/11/17 11:06:07 markus Exp $"); #include #include -#include "zlib.h" /* XXX Moved due to conflict on MacOS/X */ - #include "ssh.h" #include "dh.h" #include "kex.h" @@ -42,6 +40,8 @@ RCSID("$OpenBSD: monitor_wrap.c,v 1.35 2003/11/17 11:06:07 markus Exp $"); #include "packet.h" #include "mac.h" #include "log.h" +#undef TARGET_OS_MAC /* XXX Broken krb5 headers on Mac */ +#include "zlib.h" #include "monitor.h" #include "monitor_wrap.h" #include "xmalloc.h" -- 2.45.1