diff options
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); |