Re: patch: openssh 3.9p1 on hp-ux 10.20
From: Damien Miller (djm_at_mindrot.org)
Date: Tue, 21 Sep 2004 09:38:05 +1000 To: Greg Wooledge <firstname.lastname@example.org>
Greg Wooledge wrote:
> OpenSSH 3.9p1 does not compile on HP-UX 10.20 due to the code which was
> added in includes.h to work around HP-UX 11.11's behavior. The following
> patch lets it work on HP-UX 10.20. It should also work on HP-UX 11.11,
> but I can't test that (no HP-UX 11 boxes here).
This is what is in my tree at the moment (attached).
RCS file: /var/cvs/openssh/includes.h,v
retrieving revision 1.72
diff -u -r1.72 includes.h
--- includes.h 14 Aug 2004 14:01:48 -0000 1.72
+++ includes.h 20 Sep 2004 23:33:23 -0000
@@ -185,7 +185,7 @@
* On HP-UX 11.11, shadow.h and prot.h provide conflicting declarations
* of getspnam when _INCLUDE__STDC__ is defined, so we unset it here.
+#if defined(__hpux) && defined(HAVE_SECUREWARE)
# ifdef _INCLUDE__STDC__
# undef _INCLUDE__STDC__