From: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Date: Thu, 27 Mar 2008 08:12:40 +0000 (+0100)
Subject: new-image: Fix host tool build breakage
X-Git-Tag: v2025.01-rc5-pxa1908~22325
X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=87c8431fe24d48121f053fe67cff4ccfe097d4d1;p=u-boot.git

new-image: Fix host tool build breakage

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
---

diff --git a/include/fdt.h b/include/fdt.h
index 48ccfd9100..39beada630 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 */