From: Marco Felsch <[email protected]>

Add missing includes else compressed-dtb.h depends on the include order.

Signed-off-by: Marco Felsch <[email protected]>
Signed-off-by: Ahmad Fatoum <[email protected]>
---
v1 - > v2:
  - split off preparatory patch from
    
https://lore.barebox.org/barebox/20251110-v2025-09-0-topic-optee-of-handling-v1-0-8f0625ac5...@pengutronix.de/T/#t
---
 include/compressed-dtb.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/compressed-dtb.h b/include/compressed-dtb.h
index cc5fbb276984..ff7c932f5b01 100644
--- a/include/compressed-dtb.h
+++ b/include/compressed-dtb.h
@@ -2,9 +2,11 @@
 #ifndef COMPRESSED_DTB_H_
 #define COMPRESSED_DTB_H_
 
+#include <linux/align.h>
 #include <linux/types.h>
 #include <linux/sizes.h>
 #include <asm/unaligned.h>
+#include <fdt.h>
 
 struct barebox_boarddata_compressed_dtb {
 #define BAREBOX_BOARDDATA_COMPRESSED_DTB_MAGIC 0x7b66bcbd
-- 
2.47.3


Reply via email to