aboutsummaryrefslogtreecommitdiff
path: root/include/fdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fdt.h')
-rw-r--r--include/fdt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/fdt.h b/include/fdt.h
index 48ccfd91000..39beada6301 100644
--- a/include/fdt.h
+++ b/include/fdt.h
@@ -3,6 +3,10 @@
#ifndef __ASSEMBLY__
+#ifdef USE_HOSTCC
+#include <stdint.h>
+#endif
+
struct fdt_header {
uint32_t magic; /* magic word FDT_MAGIC */
uint32_t totalsize; /* total size of DT block */