summarylogtreecommitdiffstats
path: root/gnu-efi-fedora-IA32-build-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu-efi-fedora-IA32-build-fix.patch')
-rw-r--r--gnu-efi-fedora-IA32-build-fix.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu-efi-fedora-IA32-build-fix.patch b/gnu-efi-fedora-IA32-build-fix.patch
new file mode 100644
index 000000000000..bfc89d13f1d1
--- /dev/null
+++ b/gnu-efi-fedora-IA32-build-fix.patch
@@ -0,0 +1,26 @@
+diff --git a/inc/ia32/efibind.h b/inc/ia32/efibind.h
+index dc64e49..36360a4 100644
+--- a/inc/ia32/efibind.h
++++ b/inc/ia32/efibind.h
+@@ -75,6 +75,8 @@ Revision History
+ typedef unsigned char uint8_t;
+ typedef char int8_t;
+ #endif
++#elif defined(__GNUC__)
++ #include <stdint-gcc.h>
+ #endif
+
+ //
+diff --git a/inc/ia64/efibind.h b/inc/ia64/efibind.h
+index 871a1df..d936257 100644
+--- a/inc/ia64/efibind.h
++++ b/inc/ia64/efibind.h
+@@ -62,6 +62,8 @@ Revision History
+ typedef unsigned char uint8_t;
+ typedef char int8_t;
+ #endif
++#elif defined(__GNUC__)
++ #include <stdint-gcc.h>
+ #endif
+
+ //