diff options
Diffstat (limited to 'src/mtd_probe/mtd_probe.c')
-rw-r--r-- | src/mtd_probe/mtd_probe.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mtd_probe/mtd_probe.c b/src/mtd_probe/mtd_probe.c index ffba0eb51f..0fbf3ab832 100644 --- a/src/mtd_probe/mtd_probe.c +++ b/src/mtd_probe/mtd_probe.c @@ -16,6 +16,11 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301 USA */ + +#ifndef _GNU_SOURCE +#define _GNU_SOURCE 1 +#endif + #include "mtd_probe.h" #include <stdio.h> #include <sys/ioctl.h> @@ -26,10 +31,6 @@ #include <unistd.h> #include <stdlib.h> -#ifdef __UCLIBC__ -#include <linux/fcntl.h> -#endif - int main(int argc, char** argv) { int mtd_fd; |