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 48ccfd9..39beada 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 */