summaryrefslogtreecommitdiff
path: root/include/fdt.h
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-03-27 09:12:40 +0100
committerWolfgang Denk <wd@denx.de>2008-03-27 10:30:45 +0100
commit87c8431fe24d48121f053fe67cff4ccfe097d4d1 (patch)
tree8682fd062e6d0a8cecf393d9cc1cf49cbced11cc /include/fdt.h
parent234ea73c660cfd0b1c98de00995c32d4152d202f (diff)
downloadu-boot-imx-87c8431fe24d48121f053fe67cff4ccfe097d4d1.zip
u-boot-imx-87c8431fe24d48121f053fe67cff4ccfe097d4d1.tar.gz
u-boot-imx-87c8431fe24d48121f053fe67cff4ccfe097d4d1.tar.bz2
new-image: Fix host tool build breakage
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
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 48ccfd9..39beada 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 */