summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 bf9d50620e..e083a5b11e 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