[Mplayer-cvslog] CVS: main/libao2 ao_alsa9.c,1.14,1.15

pl pl at mplayerhq.hu
Sat Apr 27 03:25:35 CEST 2002


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

Modified Files:
	ao_alsa9.c 
Log Message:
fix for latest alsa (sys/asoundlib.h has been moved to alsa/asoundlib.h)
cleanups for "usr/src/DVB/ost/include" detection
small cosmetic fixes


Index: ao_alsa9.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_alsa9.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ao_alsa9.c	22 Apr 2002 22:33:06 -0000	1.14
+++ ao_alsa9.c	27 Apr 2002 01:25:32 -0000	1.15
@@ -12,7 +12,14 @@
 */
 
 #include <errno.h>
+
+#if HAVE_SYS_ASOUNDLIB_H
 #include <sys/asoundlib.h>
+#elif HAVE_ALSA_ASOUNDLIB_H
+#include <alsa/asoundlib.h>
+#else
+#error "asoundlib.h is not in sys/ or alsa/ - please bugreport"
+#endif
 
 #include "../config.h"
 




More information about the MPlayer-cvslog mailing list