Displaying 2 results from an estimated 2 matches for "_include__stdc__".
2004 Sep 17
2
patch: openssh 3.9p1 on hp-ux 10.20
...www.faqs.org/faqs/hp/hpux-faq/ is decidedly
not free, but I'm hoping the copyright holder will permit the code
to be used freely. I've CC'ed him on this mail.
--- includes.h.orig Fri Sep 17 10:03:08 2004
+++ includes.h Fri Sep 17 09:52:03 2004
@@ -186,8 +186,20 @@
* of getspnam when _INCLUDE__STDC__ is defined, so we unset it here.
*/
#ifdef __hpux
-# ifdef _INCLUDE__STDC__
-# undef _INCLUDE__STDC__
+# include <sys/privgrp.h>
+# if defined(PRIV_PSET)
+# define _hpux_11i
+# elif defined(PRIV_SPUCTL)
+# define __hpux_11x
+# elif defined(PRIV_SERIALIZE)
+# define __hpux_10x
+# elif d...
2004 Oct 25
0
OpenSSH 3.9p1 includes.h patch
Hello there,
In the openssh 3.9p1 includes.h there is a workaround for HP-UX 11.11
which broke compiling on HP-UX 10.20 since it needs _INCLUDE__STDC__
defined. Here's a patch for how I fixed it.
It would be more elegant to do a "#ifdef __hpux11", but I don't have an
HP-UX 11 box to try it out. So I'm not sure it would work. But you might
want to try since I guess it would.
Let me know if you need more details.
T...