 diff -urN SDL-1.2.13/README.Haiku SDL-1.2.13-haiku/README.Haiku
---- SDL-1.2.13/README.Haiku	1969-12-31 16:00:00.000000000 -0800
-+++ SDL-1.2.13-haiku/README.Haiku	2008-08-21 07:13:52.000000000 -0700
+--- SDL-1.2.13/README.Haiku	1970-01-01 00:00:00.000000000 +0000
++++ SDL-1.2.13-haiku/README.Haiku	2009-02-15 23:35:54.000000000 +0000
 @@ -0,0 +1,13 @@
 +
 +SDL on Haiku

 #undef __BSDI__
 #define __BSDI__	1
diff -urN SDL-1.2.13/include/begin_code.h SDL-1.2.13-haiku/include/begin_code.h
--- SDL-1.2.13/include/begin_code.h	2007-12-30 20:48:36.000000000 -0800
+++ SDL-1.2.13-haiku/include/begin_code.h	2008-08-21 07:15:35.000000000 -0700
@@ -33,7 +33,7 @@
 
 /* Some compilers use a special export keyword */

         MATHLIB=""
         SYS_GL_LIBS="-lGL"
diff -urN SDL-1.2.13/test/testplatform.c SDL-1.2.13-haiku/test/testplatform.c
--- SDL-1.2.13/test/testplatform.c	2009-02-15 23:41:29.000000000 +0000
+++ SDL-1.2.13-haiku/test/testplatform.c	2009-02-15 23:48:14.000000000 +0000
@@ -162,6 +162,8 @@
 			"Dreamcast"
 #elif __FREEBSD__
 			"FreeBSD"
+#elif __HAIKU__
+			"Haiku"
 #elif __HPUX__
 			"HP-UX"
 #elif __IRIX__
