From df98cdcd4887d72c46f78e7e63f7328189427476 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Tue, 20 May 2014 16:43:24 +0000
Subject: haiku patch


diff --git a/src/sndfile.h.in b/src/sndfile.h.in
index 8926fc6..ef9636b 100644
--- a/src/sndfile.h.in
+++ b/src/sndfile.h.in
@@ -29,6 +29,7 @@
 /* This is the version 1.0.X header file. */
 #define	SNDFILE_1
 
+#include <stdint.h>
 #include <stdio.h>
 #include <sys/types.h>
 
-- 
1.8.3.4


From aa846ae9c25ea6a88138edda20eec82e96639a3e Mon Sep 17 00:00:00 2001
From: Kacper Kasper <kacperkasper@gmail.com>
Date: Sun, 8 Jun 2014 17:05:44 +0200
Subject: Fix documentation path


diff --git a/configure.ac b/configure.ac
index 20ba55a..9604249 100644
--- a/configure.ac
+++ b/configure.ac
@@ -484,6 +484,10 @@ else
 	htmldocdir=$prefix/share/doc/libsndfile1-dev/html
 	fi
 
+if test $host_os = "haiku" ; then
+	htmldocdir=$prefix/documentation/packages/libsndfile
+fi
+
 if test x$enable_bow_docs = "xyes" ; then
 	HTML_BGCOLOUR="white"
 	HTML_FGCOLOUR="black"
-- 
1.8.3.4

