summaryrefslogtreecommitdiff
path: root/package/system
diff options
context:
space:
mode:
Diffstat (limited to 'package/system')
-rw-r--r--package/system/mtd/src/mtd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/system/mtd/src/mtd.c b/package/system/mtd/src/mtd.c
index 7b80193..6dd6eea 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 <limits.h>
#include <unistd.h>
#include <stdlib.h>