mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-01 14:23:42 +00:00
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__
|
#ifdef __linux__
|
||||||
#include <linux/soundcard.h>
|
#include <linux/soundcard.h>
|
||||||
+#elif defined(__FreeBSD__) || defined(__NetBSD__)
|
+#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||||
+#include <sys/soundcard.h>
|
+#ifdef __OpenBSD__
|
||||||
#else
|
|
||||||
+#if defined(__OpenBSD__)
|
|
||||||
+#include <soundcard.h>
|
+#include <soundcard.h>
|
||||||
+#else
|
+#else
|
||||||
#include <machine/soundcard.h> /* JH20010905 */
|
+#include <sys/soundcard.h>
|
||||||
+#endif
|
+#endif
|
||||||
|
#else
|
||||||
|
#include <machine/soundcard.h> /* JH20010905 */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
__EOF__
|
__EOF__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user