summaryrefslogtreecommitdiff
path: root/recipes/u-boot/u-boot-1.2.0/fw_env.c.patch
blob: 62f364ad4a7ac79cace8298e7c7657b64f000d26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;