# HG changeset patch # User reimar # Date 1308675181 0 # Node ID 2b750a2ce45fc34ca3d882873567213b994694fd # Parent 2ef9298a81e777be7b7dadab2a880a44dc510a5e Fix compilation with dvdread/dvdnav disabled. diff -r 2ef9298a81e7 -r 2b750a2ce45f mpcommon.c --- a/mpcommon.c Mon Jun 20 20:10:28 2011 +0000 +++ b/mpcommon.c Tue Jun 21 16:53:01 2011 +0000 @@ -21,8 +21,12 @@ #endif #include #include "stream/stream.h" +#ifdef CONFIG_DVDREAD #include "stream/stream_dvd.h" +#endif +#ifdef CONFIG_DVDNAV #include "stream/stream_dvdnav.h" +#endif #include "libmpdemux/demuxer.h" #include "libmpdemux/stheader.h" #include "codec-cfg.h"