fix portaudio build on OpenBSD take 2

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2921 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-10-01 22:39:50 +00:00
parent b42509957f
commit 43332a09c2
1 changed files with 3 additions and 1 deletions

View File

@ -27,8 +27,10 @@ patch <<__EOF__
#ifdef __linux__
#include <linux/soundcard.h>
+#elif defined(__FreeBSD__) || defined( __NetBSD__) || defined( __OpenBSD__)
+#elif defined(__FreeBSD__) || defined( __NetBSD__)
+#include <sys/soundcard.h>
+#elif defined( __OpenBSD__)
+#include <soundcard.h>
#else
#include <machine/soundcard.h> /* JH20010905 */
#endif