summaryrefslogtreecommitdiff
path: root/libfdt/fdt.c
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 /libfdt/fdt.c
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 'libfdt/fdt.c')
-rw-r--r--libfdt/fdt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libfdt/fdt.c b/libfdt/fdt.c
index bd91712..cfa1989 100644
--- a/libfdt/fdt.c
+++ b/libfdt/fdt.c
@@ -50,8 +50,12 @@
*/
#include "libfdt_env.h"
+#ifndef USE_HOSTCC
#include <fdt.h>
#include <libfdt.h>
+#else
+#include "fdt_host.h"
+#endif
#include "libfdt_internal.h"