projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: fix compile error with musl
[openwrt.git]
/
package
/
system
/
mtd
/
src
/
mtd.c
diff --git
a/package/system/mtd/src/mtd.c
b/package/system/mtd/src/mtd.c
index
7b80193
..
6dd6eea
100644
(file)
--- a/
package/system/mtd/src/mtd.c
+++ b/
package/system/mtd/src/mtd.c
@@
-21,6
+21,7
@@
* The code is based on the linux-mtd examples.
*/
+#define _GNU_SOURCE
#include <limits.h>
#include <unistd.h>
#include <stdlib.h>