Fix compile problem with new env code.
authorWolfgang Denk <wd@denx.de>
Tue, 8 Jan 2008 21:58:27 +0000 (22:58 +0100)
committerWolfgang Denk <wd@denx.de>
Wed, 9 Jan 2008 08:51:14 +0000 (09:51 +0100)
Signed-off-by: Wolfgang Denk <wd@denx.de>
tools/env/fw_env.c

index bf9d50620ea28ca4ef87b161707f629dc2ec5882..e083a5b11ebdc10aff14bf1e06697a85cfae51b3 100644 (file)
@@ -35,6 +35,7 @@
 #ifdef MTD_OLD
 # include <linux/mtd/mtd.h>
 #else
+# define  __user       /* nothing */
 # include <mtd/mtd-user.h>
 #endif