diff options
Diffstat (limited to 'openwrt/package/mtd/mtd.c')
-rw-r--r-- | openwrt/package/mtd/mtd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openwrt/package/mtd/mtd.c b/openwrt/package/mtd/mtd.c index 69ef06496..e55986494 100644 --- 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) |