[PATCH 1/4] include/linux/printk.h is not self-contained

From: y
Date: Wed May 25 2011 - 05:09:28 EST


From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

<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@xxxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/