]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix portaudio build on OpenBSD take 4
authorMichael Jerris <mike@jerris.com>
Sun, 1 Oct 2006 23:42:16 +0000 (23:42 +0000)
committerMichael Jerris <mike@jerris.com>
Sun, 1 Oct 2006 23:42:16 +0000 (23:42 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2924 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/portaudio.build.sh

index fecb7e1bb2bb07bff3389fc1432c2c2b523883ae..5a82be76279e470b8320857db53581b1944acc0d 100755 (executable)
@@ -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__