[vlc-devel] commit: oss: OpenBSD compile fix (Joris van Rooij )

git version control git at videolan.org
Thu May 7 17:13:54 CEST 2009


vlc | branch: master | Joris van Rooij <jorrizza at jrrzz.net> | Thu May  7 18:10:19 2009 +0300| [e1bba59e55bc3d31a9142dc9779bc0ba54fde6a1] | committer: Rémi Denis-Courmont 

oss: OpenBSD compile fix

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e1bba59e55bc3d31a9142dc9779bc0ba54fde6a1
---

 modules/access/oss.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/modules/access/oss.c b/modules/access/oss.c
index 61999f0..7ea6527 100644
--- a/modules/access/oss.c
+++ b/modules/access/oss.c
@@ -45,7 +45,12 @@
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 
-#include <sys/soundcard.h>
+#ifdef HAVE_SYS_SOUNDCARD_H
+#  include <sys/soundcard.h>
+#endif
+#ifdef HAVE_SOUNDCARD_H
+#  include <soundcard.h>
+#endif
 
 #include <poll.h>
 




More information about the vlc-devel mailing list