From: Andrew Morton Date: Tue, 26 Mar 2013 23:24:52 +0000 (+1100) Subject: include/linux/printk.h: include stdarg.h X-Git-Tag: next-20130402~2^2~343 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=908a4c0e8b318e36c3c1e0288b62aa598f80510c;p=karo-tx-linux.git include/linux/printk.h: include stdarg.h printk.h uses va_list but doesn't include stdarg.h. Hence printk.h is unusable unless its includer has already included kernel.h (which includes stdarg.h). Remove the dependency by including stdarg.h in printk.h Signed-off-by: Andrew Morton --- diff --git a/include/linux/printk.h b/include/linux/printk.h index 1c35c23bccd7..4890fe62c011 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h @@ -1,6 +1,7 @@ #ifndef __KERNEL_PRINTK__ #define __KERNEL_PRINTK__ +#include #include #include