changeset 33598:2b750a2ce45f

Fix compilation with dvdread/dvdnav disabled.
author reimar
date Tue, 21 Jun 2011 16:53:01 +0000
parents 2ef9298a81e7
children 6d690eac34eb
files mpcommon.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <stdlib.h>
 #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"