summaryrefslogtreecommitdiffstats
path: root/src/dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dump.c')
-rw-r--r--src/dump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dump.c b/src/dump.c
index 9fc0a86..9ff18be 100644
--- a/src/dump.c
+++ b/src/dump.c
@@ -68,7 +68,9 @@ __rf_extract_exit:
/*
* This function was covardly copied from nanddump.c @ mtd-utils-20060907
*/
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>