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
master
Felix Fietkau 2014-05-21 14:09:53 +00:00
parent dab6984526
commit 7695f68829
1 changed files with 1 additions and 0 deletions

View File

@ -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>