summaryrefslogtreecommitdiff
path: root/include/libfdt_env.h
diff options
context:
space:
mode:
authorBartlomiej Sieka <tur@semihalf.com>2008-02-29 16:00:24 +0100
committerMarian Balakowicz <m8@semihalf.com>2008-02-29 16:00:24 +0100
commit8cf30809a82902a471866d2f07725ce3b8a22291 (patch)
tree87ab025457f538b8313c418ffab396f68b5f2821 /include/libfdt_env.h
parenta6e530f00d31a8494a0422799b2b9a692a9c0eb9 (diff)
downloadu-boot-imx-8cf30809a82902a471866d2f07725ce3b8a22291.zip
u-boot-imx-8cf30809a82902a471866d2f07725ce3b8a22291.tar.gz
u-boot-imx-8cf30809a82902a471866d2f07725ce3b8a22291.tar.bz2
[new uImage] Add libfdt support to mkimage
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
Diffstat (limited to 'include/libfdt_env.h')
-rw-r--r--include/libfdt_env.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libfdt_env.h b/include/libfdt_env.h
index 78f7258..98c522a 100644
--- a/include/libfdt_env.h
+++ b/include/libfdt_env.h
@@ -24,7 +24,11 @@
#include <stddef.h>
#include <linux/types.h>
#include <asm/byteorder.h>
+#ifdef USE_HOSTCC
+#include <string.h>
+#else
#include <linux/string.h>
+#endif /* USE_HOSTCC */
extern struct fdt_header *fdt; /* Pointer to the working fdt */