tools/e2fsprogs: add a darwin-compat patch
[openwrt-github/.git] / tools / e2fsprogs / patches / 005-darwin-compat.patch
1 --- a/lib/blkid/blkid_types.h.in
2 +++ b/lib/blkid/blkid_types.h.in
3 @@ -9,6 +9,8 @@
4  
5  @ASM_TYPES_HEADER@
6  
7 +#include <stdint.h>
8 +
9  #ifdef __U8_TYPEDEF
10  typedef __U8_TYPEDEF __u8;
11  #else
12 --- a/lib/ext2fs/ext2_types.h.in
13 +++ b/lib/ext2fs/ext2_types.h.in
14 @@ -9,6 +9,8 @@
15  
16  @ASM_TYPES_HEADER@
17  
18 +#include <stdint.h>
19 +
20  #ifdef __U8_TYPEDEF
21  typedef __U8_TYPEDEF __u8;
22  #else