summaryrefslogtreecommitdiff
path: root/sysutils/sbsigntool/files/patch-src-image.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/sbsigntool/files/patch-src-image.h')
-rw-r--r--sysutils/sbsigntool/files/patch-src-image.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/sbsigntool/files/patch-src-image.h b/sysutils/sbsigntool/files/patch-src-image.h
new file mode 100644
index 000000000000..18c42c738fdb
--- /dev/null
+++ b/sysutils/sbsigntool/files/patch-src-image.h
@@ -0,0 +1,12 @@
+--- src/image.h.orig 2015-01-15 19:43:49.000000000 +0100
++++ src/image.h 2015-01-15 19:49:04.000000000 +0100
+@@ -34,6 +34,9 @@
+
+ #include <stdint.h>
+
++#define ATTRIBUTE_UNUSED __unused
++#define ENUM_BITFIELD(X) enum X
++
+ #include <bfd.h>
+ #define DO_NOT_DEFINE_LINENO
+