summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2021-12-11 09:40:26 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-12-13 23:20:15 +0100
commitb27fd3c239d28af6f7898867690fd674dcf7cbf9 (patch)
tree819a05fd0403702cbda8058cd9b35e7ce6b6de81 /include
parent35dd3095cddde1175356ebfa6b1fe500d677853d (diff)
downloadbarebox-b27fd3c239d28af6f7898867690fd674dcf7cbf9.tar.gz
barebox-b27fd3c239d28af6f7898867690fd674dcf7cbf9.tar.xz
include: linux/printk.h: include <stdarg.h> to make header self-contained
The point of <linux/printk.h> is to have a minimal self-contained header for use where ever printing is required. va_list was used, but not defined, remedy this. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Link: https://lore.barebox.org/20211211084026.443756-1-ahmad@a3f.at Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/printk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/printk.h b/include/linux/printk.h
index 3f370adb90..aab9c89639 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -4,6 +4,7 @@
#include <linux/list.h>
#include <printk.h>
+#include <stdarg.h>
#define MSG_EMERG 0 /* system is unusable */
#define MSG_ALERT 1 /* action must be taken immediately */