mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-24 11:48:48 +00:00
fix portaudio build on OpenBSD take 3
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2922 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
43332a09c2
commit
3d13f15163
@ -27,12 +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__)
|
||||||
+#include <sys/soundcard.h>
|
+#include <sys/soundcard.h>
|
||||||
+#elif defined( __OpenBSD__)
|
|
||||||
+#include <soundcard.h>
|
|
||||||
#else
|
#else
|
||||||
|
+#if defined(__OpenBSD__)
|
||||||
|
+#include <soundcard.h>
|
||||||
|
+#else
|
||||||
#include <machine/soundcard.h> /* JH20010905 */
|
#include <machine/soundcard.h> /* JH20010905 */
|
||||||
|
+#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
__EOF__
|
__EOF__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user