link to specific header, just to be safe
[openwrt.git] / openwrt / package / mtd / mtd.c
index 69ef064..e559864 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)
This page took 0.021057 seconds and 4 git commands to generate.