diff options
author | wm4 <wm4@nowhere> | 2013-12-18 17:12:21 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-18 17:12:21 +0100 |
commit | 2c08bf1bd744bb8eb5986f1ccb3ae03e284170dc (patch) | |
tree | d8d7c08760dcc584f99eff7b921bb87a116fe532 /stream | |
parent | 5e0424f17f23c24e82a4325ff81e7ef67ac1337a (diff) | |
download | mpv-2c08bf1bd744bb8eb5986f1ccb3ae03e284170dc.tar.bz2 mpv-2c08bf1bd744bb8eb5986f1ccb3ae03e284170dc.tar.xz |
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.
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream.h | 1 | ||||
-rw-r--r-- | stream/stream_bluray.c | 1 | ||||
-rw-r--r-- | stream/stream_dvd.c | 1 |
3 files changed, 2 insertions, 1 deletions
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 <stdbool.h> #include <stdio.h> 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 <libgen.h> |