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:
parent
e306d23a78
commit
aab161e9cd
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue