Explorar el Código

mtd: fix compile error with musl

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 40819
Felix Fietkau hace 11 años
padre
commit
962575f201
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      package/system/mtd/src/mtd.c

+ 1 - 0
package/system/mtd/src/mtd.c

@@ -21,6 +21,7 @@
  * The code is based on the linux-mtd examples.
  * The code is based on the linux-mtd examples.
  */
  */
 
 
+#define _GNU_SOURCE
 #include <limits.h>
 #include <limits.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <stdlib.h>