[PATCH master] include: linux/printk.h: include <stdarg.h> to make header self-contained
Ahmad Fatoum
ahmad at a3f.at
Sat Dec 11 00:40:26 PST 2021
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 at a3f.at>
---
include/linux/printk.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/printk.h b/include/linux/printk.h
index 212041927251..39523b0572a0 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 */
--
2.33.0
More information about the barebox
mailing list