diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-21 14:09:53 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-21 14:09:53 +0000 |
commit | 962575f201db7723bbcbdbbf7a82203e0351022d (patch) | |
tree | 668f7c6ba2c55c778b9fb042f6d598c92e2b5e21 /package/system | |
parent | a1038db845f373ede1e335a05a43809893403da4 (diff) | |
download | upstream-962575f201db7723bbcbdbbf7a82203e0351022d.tar.gz upstream-962575f201db7723bbcbdbbf7a82203e0351022d.tar.bz2 upstream-962575f201db7723bbcbdbbf7a82203e0351022d.zip |
mtd: fix compile error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40819
Diffstat (limited to 'package/system')
-rw-r--r-- | package/system/mtd/src/mtd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/system/mtd/src/mtd.c b/package/system/mtd/src/mtd.c index 7b80193b44..6dd6eea6a3 100644 --- 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> |