1Patch against OpenSSH 5.0p1 to add Haiku support.
2Date: 2008-05-04
3
4diff -urN openssh-5.0p1-orig/configure.ac openssh-5.0p1/configure.ac
5--- openssh-5.0p1-orig/configure.ac	2008-03-27 01:33:07.000000000 +0000
6+++ openssh-5.0p1/configure.ac	2008-05-04 00:29:35.000000000 +0000
7@@ -468,6 +468,13 @@
8 *-*-dragonfly*)
9 	SSHDLIBS="$SSHDLIBS -lcrypt"
10 	;;
11+*-*-haiku*)
12+	CPPFLAGS="$CPPFLAGS -I/boot/develop/headers/bsd"
13+	LIBS="$LIBS -lbsd -lnetwork"
14+	dnl u_int64_t is defined, just not through <sys/types.h>
15+	AC_DEFINE(HAVE_U_INT64_T)
16+	MANTYPE=man
17+	;;
18 *-*-hpux*)
19 	# first we define all of the options common to all HP-UX releases
20 	CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
21