mtd: fix compile error with musl

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

SVN-Revision: 40819
master
Felix Fietkau 11 years ago
parent a1038db845
commit 962575f201
  1. 1
      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>

Loading…
Cancel
Save