[MPlayer-dev-eng] libmpdemux/tvi_bsdbt848.c portability fix

Steven M. Schultz sms at 2BSD.COM
Sat Mar 16 19:01:54 CET 2002


Hi!

	A small portability fix for BSD derived systems which have
	'souncard.h' in <sys/soundcard.h> instead of <machine/soundcard.h>

	I noticed that config.h has 'HAVE_SYS_SOUNDCARD_H' in it, so the change
	to libmpdemux/tvi_bsdbt848.c is simply to ifdef on HAVE_SYS_SOUNDCARD_H

	Cheers,
	Steven Schultz
	sms at 2bsd.com

-----------------------------------------
--- tvi_bsdbt848.c.dist	Fri Mar 15 06:59:32 2002
+++ tvi_bsdbt848.c	Sat Mar 16 09:57:05 2002
@@ -34,7 +34,11 @@
 
 #include <machine/ioctl_meteor.h>
 #include <machine/ioctl_bt848.h>
+#ifdef	HAVE_SYS_SOUNDCARD_H
+#include <sys/soundcard.h>
+#else
 #include <machine/soundcard.h>
+#endif
 
 #include "../libvo/img_format.h"
 #include "tv.h"



More information about the MPlayer-dev-eng mailing list