summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-01-08 22:58:27 +0100
committerWolfgang Denk <wd@denx.de>2008-01-09 09:51:14 +0100
commit46f6e5019048b103d7693d5310de0f1cfbaf4c19 (patch)
tree76575048eadc2441f00a296b7f8a9028dcf29b08 /tools
parent64b3727b9779d86127cd576e392a987de5ebb9fd (diff)
downloadu-boot-imx-46f6e5019048b103d7693d5310de0f1cfbaf4c19.zip
u-boot-imx-46f6e5019048b103d7693d5310de0f1cfbaf4c19.tar.gz
u-boot-imx-46f6e5019048b103d7693d5310de0f1cfbaf4c19.tar.bz2
Fix compile problem with new env code.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'tools')
-rw-r--r--tools/env/fw_env.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index bf9d506..e083a5b 100644
--- a/tools/env/fw_env.c
+++ b/tools/env/fw_env.c
@@ -35,6 +35,7 @@
#ifdef MTD_OLD
# include <linux/mtd/mtd.h>
#else
+# define __user /* nothing */
# include <mtd/mtd-user.h>
#endif