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-include_common_h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/mtd-utils/patches/patch-include_common_h (limited to 'package/mtd-utils/patches/patch-include_common_h') diff --git a/package/mtd-utils/patches/patch-include_common_h b/package/mtd-utils/patches/patch-include_common_h new file mode 100644 index 000000000..1109ab485 --- /dev/null +++ b/package/mtd-utils/patches/patch-include_common_h @@ -0,0 +1,19 @@ +--- mtd-utils-2.0.0.orig/include/common.h 2016-12-14 10:06:35.000000000 +0100 ++++ mtd-utils-2.0.0/include/common.h 2017-04-26 01:52:28.000000000 +0200 +@@ -26,10 +26,15 @@ + #include + #include + #include ++#ifndef __APPLE__ + #include ++#include ++#endif + #include + #include +-#include ++ ++#include ++#include "os-compat.h" + + #include "config.h" + -- cgit v1.2.3