From 7d9d71e67f8763b0db96545e124c002fe0ba7e73 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 26 Apr 2017 08:58:17 +0200 Subject: mtd-utils: allow host-tools to compile on Darwin Signed-off-by: Waldemar Brodkorb --- package/mtd-utils/patches/patch-nand-utils_nftl_format_c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 package/mtd-utils/patches/patch-nand-utils_nftl_format_c (limited to 'package/mtd-utils/patches/patch-nand-utils_nftl_format_c') diff --git a/package/mtd-utils/patches/patch-nand-utils_nftl_format_c b/package/mtd-utils/patches/patch-nand-utils_nftl_format_c new file mode 100644 index 000000000..ff25489ef --- /dev/null +++ b/package/mtd-utils/patches/patch-nand-utils_nftl_format_c @@ -0,0 +1,10 @@ +--- mtd-utils-2.0.0.orig/nand-utils/nftl_format.c 2016-12-14 10:06:35.000000000 +0100 ++++ mtd-utils-2.0.0/nand-utils/nftl_format.c 2017-04-26 08:57:07.000000000 +0200 +@@ -23,6 +23,7 @@ + #define PROGRAM_NAME "nftl_format" + + #define _XOPEN_SOURCE 500 /* for pread/pwrite */ ++#include + #include + #include + #include -- cgit v1.2.3