size_t is used without previous definition relying on header include
order. Fix that up.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to