projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
link to specific header, just to be safe
[openwrt/svn-archive/archive.git]
/
openwrt
/
package
/
mtd
/
mtd.c
diff --git
a/openwrt/package/mtd/mtd.c
b/openwrt/package/mtd/mtd.c
index 69ef0649608086f162b64a9364ae6e3957b8bc9f..e5598649452fe3be699d9bf6670a92983cac8b8f 100644
(file)
--- a/
openwrt/package/mtd/mtd.c
+++ b/
openwrt/package/mtd/mtd.c
@@
-40,7
+40,11
@@
#include <sys/reboot.h>
#include <string.h>
+#ifdef LINUX_24
#include <linux/mtd/mtd.h>
+#else
+#include <mtd/mtd-user.h>
+#endif
#define TRX_MAGIC 0x30524448 /* "HDR0" */
#define BUFSIZE (10 * 1024)