From: Jiri Olsa Date: Thu, 12 Sep 2019 08:57:18 +0000 (+0200) Subject: tools: Add missing stdio.h include to asm/bug.h header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=058bd857845a9675cfaf4bc2ca831ec7953b58f1;p=linux.git tools: Add missing stdio.h include to asm/bug.h header We have a direct fprintf() call in the header, so we need stdio.h include, otherwise it could fail compilation if there's no prior stdio.h include directive. Signed-off-by: Jiri Olsa Link: http://lkml.kernel.org/n/tip-8hvjgh24olfsa4non0a3ohnq@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/include/asm/bug.h b/tools/include/asm/bug.h index bbd75ac8b2029..550223f0a6e6d 100644 --- a/tools/include/asm/bug.h +++ b/tools/include/asm/bug.h @@ -3,6 +3,7 @@ #define _TOOLS_ASM_BUG_H #include +#include #define __WARN_printf(arg...) do { fprintf(stderr, arg); } while (0)