new-image: Fix host tool build breakage
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Thu, 27 Mar 2008 08:12:40 +0000 (09:12 +0100)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Mar 2008 09:30:45 +0000 (10:30 +0100)
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
include/fdt.h

index 48ccfd9100002deb3aff35ee4f17bc7d232b25b2..39beada63019016c83310dfc03002e3214585b7d 100644 (file)
@@ -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 */