Patch against OpenSSH 5.0p1 to add Haiku support. Date: 2008-05-04 diff -urN openssh-5.0p1-orig/configure.ac openssh-5.0p1/configure.ac --- openssh-5.0p1-orig/configure.ac 2008-03-27 01:33:07.000000000 +0000 +++ openssh-5.0p1/configure.ac 2008-05-04 00:29:35.000000000 +0000 @@ -468,6 +468,13 @@ *-*-dragonfly*) SSHDLIBS="$SSHDLIBS -lcrypt" ;; +*-*-haiku*) + CPPFLAGS="$CPPFLAGS -I/boot/develop/headers/bsd" + LIBS="$LIBS -lbsd -lnetwork" + dnl u_int64_t is defined, just not through + AC_DEFINE(HAVE_U_INT64_T) + MANTYPE=man + ;; *-*-hpux*) # first we define all of the options common to all HP-UX releases CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"