aboutsummaryrefslogtreecommitdiffstats
path: root/packages/u-boot/u-boot-1.2.0/fw_env.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/u-boot/u-boot-1.2.0/fw_env.c.patch')
-rw-r--r--packages/u-boot/u-boot-1.2.0/fw_env.c.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/u-boot/u-boot-1.2.0/fw_env.c.patch b/packages/u-boot/u-boot-1.2.0/fw_env.c.patch
new file mode 100644
index 0000000000..62f364ad4a
--- /dev/null
+++ b/packages/u-boot/u-boot-1.2.0/fw_env.c.patch
@@ -0,0 +1,13 @@
+--- u-boot-1.1.2.orig/tools/env/fw_env.c 2004-12-31 01:32:54.000000000 -0800
++++ u-boot-1.1.2/tools/env/fw_env.c 2006-11-08 12:43:41.000000000 -0800
+@@ -31,7 +31,9 @@
+ #include <sys/ioctl.h>
+ #include <sys/stat.h>
+ #include <unistd.h>
+-#include <linux/mtd/mtd.h>
++#include <stdint.h>
++#include <mtd/mtd-abi.h>
++#include <mtd/mtd-user.h>
+ #include "fw_env.h"
+
+ typedef unsigned char uchar;