From 962575f201db7723bbcbdbbf7a82203e0351022d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 21 May 2014 14:09:53 +0000 Subject: mtd: fix compile error with musl Signed-off-by: Felix Fietkau SVN-Revision: 40819 --- package/system/mtd/src/mtd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'package/system/mtd/src/mtd.c') 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 -- cgit v1.2.3