From: Felix Fietkau Date: Wed, 21 May 2014 14:09:53 +0000 (+0000) Subject: mtd: fix compile error with musl X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=7695f68829a185e58398a8e6e69ea0f4969f8833;p=15.05%2Fopenwrt.git mtd: fix compile error with musl Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40819 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 #include #include