link to specific header, just to be safe
[openwrt/svn-archive/archive.git] / openwrt / package / mtd / mtd.c
index 69ef0649608086f162b64a9364ae6e3957b8bc9f..e5598649452fe3be699d9bf6670a92983cac8b8f 100644 (file)
 #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)