summaryrefslogtreecommitdiff
path: root/tools/e2fsprogs/patches/005-darwin-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/e2fsprogs/patches/005-darwin-compat.patch')
-rw-r--r--tools/e2fsprogs/patches/005-darwin-compat.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/e2fsprogs/patches/005-darwin-compat.patch b/tools/e2fsprogs/patches/005-darwin-compat.patch
index bc81d86..c5d0e28 100644
--- a/tools/e2fsprogs/patches/005-darwin-compat.patch
+++ b/tools/e2fsprogs/patches/005-darwin-compat.patch
@@ -6,9 +6,9 @@
+#include <stdint.h>
+
+ #ifndef HAVE___U8
+ #define HAVE___U8
#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 @@
@@ -17,6 +17,7 @@
+#include <stdint.h>
+
+ #ifndef HAVE___U8
+ #define HAVE___U8
#ifdef __U8_TYPEDEF
- typedef __U8_TYPEDEF __u8;
- #else
+