From 2c08bf1bd744bb8eb5986f1ccb3ae03e284170dc Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 18 Dec 2013 17:12:21 +0100 Subject: Reduce recursive config.h inclusions in headers In my opinion, config.h inclusions should be kept to a minimum. MPlayer code really liked including config.h everywhere, though, even in often used header files. Try to reduce this. --- stream/stream.h | 1 - stream/stream_bluray.c | 1 + stream/stream_dvd.c | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) (limited to 'stream') diff --git a/stream/stream.h b/stream/stream.h index 7d10eccd28..34a7b30733 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -19,7 +19,6 @@ #ifndef MPLAYER_STREAM_H #define MPLAYER_STREAM_H -#include "config.h" #include "common/msg.h" #include #include diff --git a/stream/stream_bluray.c b/stream/stream_bluray.c index be7a846e56..3ee6aa46fe 100644 --- a/stream/stream_bluray.c +++ b/stream/stream_bluray.c @@ -37,6 +37,7 @@ #include "config.h" #include "talloc.h" +#include "common/common.h" #include "common/msg.h" #include "options/m_option.h" #include "stream.h" diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c index b57e4d9e7e..ece9975e4d 100644 --- a/stream/stream_dvd.c +++ b/stream/stream_dvd.c @@ -27,6 +27,7 @@ #include "config.h" #include "talloc.h" +#include "common/common.h" #include "common/msg.h" #include -- cgit v1.2.3