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 /common/msg.h | |
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 'common/msg.h')
-rw-r--r-- | common/msg.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/common/msg.h b/common/msg.h index 7b93d831d8..8466e7e2b6 100644 --- a/common/msg.h +++ b/common/msg.h @@ -21,6 +21,10 @@ #include <stdarg.h> #include <stdbool.h> +#include <stdlib.h> +#include <stdint.h> + +#include "compat/compiler.h" struct mp_log; @@ -131,9 +135,6 @@ extern int verbose; int mp_msg_test(int mod, int lev); bool mp_msg_test_log(struct mp_log *log, int lev); -#include "config.h" -#include "common/common.h" - // Note: using mp_msg_log or the MP_ERR/... macros is preferred. void mp_msg_va(int mod, int lev, const char *format, va_list va); void mp_msg(int mod, int lev, const char *format, ... ) PRINTF_ATTRIBUTE(3, 4); |