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 | 7695f68829a185e58398a8e6e69ea0f4969f8833 (patch) | |
tree | 01367f39b8ee2f0d5e4d2480e829f2f4ec5c5c3b /package/system/mtd | |
parent | dab6984526a8fe28d2b1db5e3709229f6ab564e3 (diff) | |
download | master-187ad058-7695f68829a185e58398a8e6e69ea0f4969f8833.tar.gz master-187ad058-7695f68829a185e58398a8e6e69ea0f4969f8833.tar.bz2 master-187ad058-7695f68829a185e58398a8e6e69ea0f4969f8833.zip |
mtd: fix compile error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40819 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system/mtd')
-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> |