mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
52ea491bdf
On darwin we need to import stdint to get these integer typedefs. Patch by: Lawrence D'Anna <larry@elder-gods.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46378
23 lines
370 B
Diff
23 lines
370 B
Diff
--- 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
|