fix portaudio build on OpenBSD take 4

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2924 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-10-01 23:42:16 +00:00
parent e306d23a78
commit aab161e9cd
1 changed files with 5 additions and 5 deletions

View File

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