changeset 29432:47808d1fca5a

Only #include stream/dvbin.h when DVB is enabled. dvbin.h #includes some system DVB headers that may be unavailable. Fixes compilation with DVB disabled.
author diego
date Mon, 03 Aug 2009 16:31:55 +0000
parents 8a6f2cda5f12
children 3495ccd3aef8
files mplayer.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Mon Aug 03 13:51:33 2009 +0000
+++ b/mplayer.c	Mon Aug 03 16:31:55 2009 +0000
@@ -100,7 +100,9 @@
 
 #include "stream/tv.h"
 #include "stream/stream_radio.h"
+#ifdef CONFIG_DVBIN
 #include "stream/dvbin.h"
+#endif
 #include "stream/cache2.h"
 
 //**************************************************************************//