projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dab6984
)
mtd: fix compile error with musl
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 21 May 2014 14:09:53 +0000
(14:09 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 21 May 2014 14:09:53 +0000
(14:09 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40819
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/system/mtd/src/mtd.c
patch
|
blob
|
history
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>