Mercurial > mplayer.hg
diff command.c @ 29433:3495ccd3aef8
Only #include stream/stream_dvd.h when libdvdread is enabled.
stream_dvd.h #includes some system headers that may be unavailable.
Fixes compilation with libdvdread disabled.
author | diego |
---|---|
date | Mon, 03 Aug 2009 23:04:04 +0000 |
parents | 2d14b0b53d8e |
children | 2609ee836bc1 |
line wrap: on
line diff
--- a/command.c Mon Aug 03 16:31:55 2009 +0000 +++ b/command.c Mon Aug 03 23:04:04 2009 +0000 @@ -34,7 +34,9 @@ #ifdef CONFIG_DVBIN #include "stream/dvbin.h" #endif +#ifdef CONFIG_DVDREAD #include "stream/stream_dvd.h" +#endif #include "stream/stream_dvdnav.h" #include "libass/ass.h" #include "libass/ass_mp.h"