mtd: fix compile error with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40819
This commit is contained in:
parent
a1038db845
commit
962575f201
@ -21,6 +21,7 @@
|
|||||||
* The code is based on the linux-mtd examples.
|
* The code is based on the linux-mtd examples.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define _GNU_SOURCE
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user