diff --git a/include/fdt.h b/include/fdt.h index 48ccfd910..39beada63 100644 --- a/include/fdt.h +++ b/include/fdt.h @@ -3,6 +3,10 @@ #ifndef __ASSEMBLY__ +#ifdef USE_HOSTCC +#include +#endif + struct fdt_header { uint32_t magic; /* magic word FDT_MAGIC */ uint32_t totalsize; /* total size of DT block */