Skip to content

Commit 058bd85

Browse files
olsajiriacmel
authored andcommitted
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 <jolsa@kernel.org> Link: http://lkml.kernel.org/n/tip-8hvjgh24olfsa4non0a3ohnq@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 33c9640 commit 058bd85

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tools/include/asm/bug.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#define _TOOLS_ASM_BUG_H
44

55
#include <linux/compiler.h>
6+
#include <stdio.h>
67

78
#define __WARN_printf(arg...) do { fprintf(stderr, arg); } while (0)
89

0 commit comments

Comments
 (0)