summaryrefslogtreecommitdiff
path: root/include/libfdt_env.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-03-26 10:41:48 +0100
committerWolfgang Denk <wd@denx.de>2008-03-26 10:41:48 +0100
commitb951f8d31711f3f10ad119ddcf5a3d0afe14d561 (patch)
tree950ca2e675ec92ea7b5610a3a2ea2b739f0aaab5 /include/libfdt_env.h
parent218ca724c08ca8a649f0917cf201cf23d4b33f39 (diff)
parent27f33e9f45ef7f9685cbdc65066a1828e85dde4f (diff)
downloadu-boot-imx-b951f8d31711f3f10ad119ddcf5a3d0afe14d561.zip
u-boot-imx-b951f8d31711f3f10ad119ddcf5a3d0afe14d561.tar.gz
u-boot-imx-b951f8d31711f3f10ad119ddcf5a3d0afe14d561.tar.bz2
Merge branch 'master_merge_new-image' of /home/tur/git/u-boot
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 */