From 64d5279410abe31e6a77c30b1a5c65dc9167eb5e Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 2 Aug 2009 16:00:55 +0000 Subject: Remove pointless #ifdefs around harmless internal header #includes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29471 b3059339-0415-0410-9bf9-f77b7e298cf2 --- command.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'command.c') diff --git a/command.c b/command.c index ff36cd8c8b..9fb37501e8 100644 --- a/command.c +++ b/command.c @@ -28,35 +28,19 @@ #include "vobsub.h" #include "spudec.h" #include "get_path.h" -#ifdef CONFIG_TV #include "stream/tv.h" -#endif -#ifdef CONFIG_RADIO #include "stream/stream_radio.h" -#endif -#ifdef CONFIG_PVR #include "stream/pvr.h" -#endif #ifdef CONFIG_DVBIN #include "stream/dvbin.h" #endif -#ifdef CONFIG_DVDREAD #include "stream/stream_dvd.h" -#endif -#ifdef CONFIG_DVDNAV #include "stream/stream_dvdnav.h" -#endif -#ifdef CONFIG_ASS #include "libass/ass.h" #include "libass/ass_mp.h" -#endif -#ifdef CONFIG_MENU #include "m_struct.h" #include "libmenu/menu.h" -#endif -#ifdef CONFIG_GUI #include "gui/interface.h" -#endif #include "mp_core.h" #include "mp_fifo.h" -- cgit v1.2.3 From 37d2f3a368b30951bf407905813856e79ca34111 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 3 Aug 2009 23:04:04 +0000 Subject: 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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29475 b3059339-0415-0410-9bf9-f77b7e298cf2 --- command.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'command.c') diff --git a/command.c b/command.c index 9fb37501e8..29d3cf2e94 100644 --- a/command.c +++ b/command.c @@ -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" -- cgit v1.2.3