Author: nbd Date: 2015-07-15 10:16:40 +0200 (Wed, 15 Jul 2015) New Revision: 46378
Added: trunk/tools/e2fsprogs/patches/005-darwin-compat.patch Log: tools/e2fsprogs: add a darwin-compat patch On darwin we need to import stdint to get these integer typedefs. Patch by: Lawrence D'Anna <[email protected]> Signed-off-by: Felix Fietkau <[email protected]> Added: trunk/tools/e2fsprogs/patches/005-darwin-compat.patch =================================================================== --- trunk/tools/e2fsprogs/patches/005-darwin-compat.patch (rev 0) +++ trunk/tools/e2fsprogs/patches/005-darwin-compat.patch 2015-07-15 08:16:40 UTC (rev 46378) @@ -0,0 +1,22 @@ +--- a/lib/blkid/blkid_types.h.in ++++ b/lib/blkid/blkid_types.h.in +@@ -9,6 +9,8 @@ + + @ASM_TYPES_HEADER@ + ++#include <stdint.h> ++ + #ifdef __U8_TYPEDEF + typedef __U8_TYPEDEF __u8; + #else +--- a/lib/ext2fs/ext2_types.h.in ++++ b/lib/ext2fs/ext2_types.h.in +@@ -9,6 +9,8 @@ + + @ASM_TYPES_HEADER@ + ++#include <stdint.h> ++ + #ifdef __U8_TYPEDEF + typedef __U8_TYPEDEF __u8; + #else _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
