summaryrefslogtreecommitdiff
path: root/packages/uboot-utils/files/fw_env.c.patch
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-03-08 19:51:17 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-03-08 19:51:17 +0000
commit6a66295bdb7a68583be6fd92a0090b258f72c33b (patch)
treee3f776a8ecae67a0c40e572179919ae5c6d6e9e6 /packages/uboot-utils/files/fw_env.c.patch
parent16c7704c59a0132f8115ec7aa46a667fb8d2383d (diff)
uboot-utils: Make it usable on other machines than the storcenter
Diffstat (limited to 'packages/uboot-utils/files/fw_env.c.patch')
-rw-r--r--packages/uboot-utils/files/fw_env.c.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/uboot-utils/files/fw_env.c.patch b/packages/uboot-utils/files/fw_env.c.patch
new file mode 100644
index 0000000000..62f364ad4a
--- /dev/null
+++ b/packages/uboot-utils/files/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;