openwrtv4/tools/e2fsprogs/patches/004-darwin-compat.patch

23 lines
376 B
Diff
Raw Normal View History

--- a/lib/blkid/blkid_types.h.in
+++ b/lib/blkid/blkid_types.h.in
@@ -9,6 +9,8 @@
@ASM_TYPES_HEADER@
+#include <stdint.h>
+
#ifndef HAVE___U8
#define HAVE___U8
#ifdef __U8_TYPEDEF
--- a/lib/ext2fs/ext2_types.h.in
+++ b/lib/ext2fs/ext2_types.h.in
@@ -9,6 +9,8 @@
@ASM_TYPES_HEADER@
+#include <stdint.h>
+
#ifndef HAVE___U8
#define HAVE___U8
#ifdef __U8_TYPEDEF