mtd: fix compile error with musl

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40819
v19.07.3_mercusys_ac12_duma
Felix Fietkau 10 years ago
parent a1038db845
commit 962575f201

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

Loading…
Cancel
Save