* [PATCH] include <printk.h>: include <linux/types.h> for size_t definition
@ 2022-01-08 17:14 Ahmad Fatoum
2022-01-10 8:57 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2022-01-08 17:14 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
size_t is used without previous definition relying on header include
order. Fix that up.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
include/printk.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/printk.h b/include/printk.h
index baf2cca20213..046b456a9d2b 100644
--- a/include/printk.h
+++ b/include/printk.h
@@ -2,6 +2,8 @@
#ifndef __PRINTK_H
#define __PRINTK_H
+#include <linux/types.h>
+
#define KERN_EMERG "" /* system is unusable */
#define KERN_ALERT "" /* action must be taken immediately */
#define KERN_CRIT "" /* critical conditions */
--
2.30.2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-10 9:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-08 17:14 [PATCH] include <printk.h>: include <linux/types.h> for size_t definition Ahmad Fatoum
2022-01-10 8:57 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox