changeset 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 47808d1fca5a
children 9ee424317dae
files command.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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"