[Mplayer-cvslog] CVS: main/libmpdemux ai_oss.c,1.1,1.2

Johannes Feigl jaf at mplayerhq.hu
Thu Aug 22 10:05:46 CEST 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv7397

Modified Files:
	ai_oss.c 
Log Message:
fix ai_oss.c compilation on non linux systems - by Bernd Ernesti <mplayer at lists.veego.de>

Index: ai_oss.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/ai_oss.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ai_oss.c	21 Aug 2002 22:50:40 -0000	1.1
+++ ai_oss.c	22 Aug 2002 08:05:27 -0000	1.2
@@ -1,7 +1,16 @@
 #include "config.h"
+#ifdef HAVE_SYS_SOUNDCARD_H
+#include <sys/soundcard.h>
+#else
+#ifdef HAVE_SOUNDCARD_H
+#include <soundcard.h>
+#else
 #include <linux/soundcard.h>
+#endif
+#endif
 #include <fcntl.h>
 #include <errno.h>
+#include <sys/ioctl.h>
 
 #include "audio_in.h"
 #include "mp_msg.h"




More information about the MPlayer-cvslog mailing list