Patch to make openssh-1.2.1pre27 compile on a sparc solaris7 syst em

Andre Lucas andre.lucas at dial.pipex.com
Fri Jan 21 10:42:37 EST 2000


I posted a patch very similar to this a few days ago, as HPUX has the
same problem. It makes more sense to do it your way though, and use
uint8_t, than my patch which used unsigned char which isn't guaranteed
to be 8 bits at all.

-Andre

On Thu, Jan 20, 2000 at 06:15:29PM -0500, Jay Fenlason wrote:
> Hack: diff -c defines.h.orig defines.h
> *** defines.h.orig      Thu Jan 20 18:07:40 2000
> --- defines.h   Thu Jan 20 18:08:05 2000
> ***************
> *** 78,83 ****
> --- 78,84 ----
>   /* If sys/types.h does not supply u_intXX_t, supply them ourselves */
>   #ifndef HAVE_U_INTXX_T
>   # ifdef HAVE_UINTXX_T
> + typedef uint8_t u_int8_t;
>   typedef uint16_t u_int16_t;
>   typedef uint32_t u_int32_t;
>   typedef  uint64_t u_int64_t;
> Hack: uname -a
> SunOS sol 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-250
> 
> 			-- JF
> 

-- 
Andre Lucas <andre.lucas at dial.pipex.com>
http://dspace.dial.pipex.com/andre.lucas/





More information about the openssh-unix-dev mailing list