[MPlayer-dev-eng] [PATCH] Remove ugly #include from tvi_bsdbt848.c
Bernd Ernesti
mplayer-dev-eng at lists.veego.de
Mon Apr 9 11:30:15 CEST 2007
On Mon, Apr 09, 2007 at 11:21:47AM +0200, Diego Biurrun wrote:
> On Mon, Apr 09, 2007 at 12:53:01AM +0700, Vladimir Voroshilov wrote:
> > Hm. forgot to attach file.
> >
> > --- stream/tvi_bsdbt848.c (revision 22945)
> > +++ stream/tvi_bsdbt848.c (working copy)
> > @@ -38,20 +38,18 @@
> >
> > #include <sys/param.h>
> > -#ifdef __NetBSD__
> > -#include <dev/ic/bt8xx.h>
> > +#ifdef USE_SUN_AUDIO
> > #include <sys/audioio.h>
> > #endif
>
> Are you sure NetBSD does not need the first header?
NetBSD still needs this header file, but it works fine with the new
code later in tvi_bsdbt848.c:
+#ifdef IOCTL_BT848_H_NAME
+#include IOCTL_BT848_H_NAME
+#endif
So the change above is ok on NetBSD.
Bernd
More information about the MPlayer-dev-eng
mailing list