Messages in this thread Patch in this message |  | | From | y@mail ... | | Subject | [PATCH 1/4] include/linux/printk.h is not self-contained | | Date | Wed, 25 May 2011 11:09:14 +0200 |
| |
From: Geert Uytterhoeven <geert@linux-m68k.org>
<linux/printk.h> needs to include - <stdarg.h> for "va_list", - <linux/linkage.h> for "asmlinkage", - <linux/types.h> for "bool".
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- include/linux/printk.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/linux/printk.h b/include/linux/printk.h index ee048e7..6388bc8 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h @@ -1,6 +1,10 @@ #ifndef __KERNEL_PRINTK__ #define __KERNEL_PRINTK__ +#include <stdarg.h> +#include <linux/linkage.h> +#include <linux/types.h> + extern const char linux_banner[]; extern const char linux_proc_banner[]; -- 1.7.0.4
|  |