summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-03 23:04:04 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-03 23:04:04 +0000
commit37d2f3a368b30951bf407905813856e79ca34111 (patch)
treee68c67bc3f15a3c97be5d5266491dc8e623e645e /command.c
parent3fde5bd68bc3550a1caf171a2f45681ed85b2cfa (diff)
downloadmpv-37d2f3a368b30951bf407905813856e79ca34111.tar.bz2
mpv-37d2f3a368b30951bf407905813856e79ca34111.tar.xz
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
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 2 insertions, 0 deletions
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"