summaryrefslogtreecommitdiff
path: root/security/trousers/files/patch-src-include-tcs_tsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/trousers/files/patch-src-include-tcs_tsp.h')
-rw-r--r--security/trousers/files/patch-src-include-tcs_tsp.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/trousers/files/patch-src-include-tcs_tsp.h b/security/trousers/files/patch-src-include-tcs_tsp.h
new file mode 100644
index 000000000000..675769ac4960
--- /dev/null
+++ b/security/trousers/files/patch-src-include-tcs_tsp.h
@@ -0,0 +1,16 @@
+--- src/include/tcs_tsp.h.orig 2010-01-29 01:27:51.000000000 +0900
++++ src/include/tcs_tsp.h 2010-10-24 21:04:04.822560729 +0900
+@@ -79,7 +79,13 @@
+ /* XXX Get rid of this, there's no reason to set an arbitrary limit */
+ #define MAX_KEY_CHILDREN 10
+
++#ifndef STRUCTURE_PACKING_ATTRIBUTE
++#ifdef __GCC
+ #define STRUCTURE_PACKING_ATTRIBUTE __attribute__((packed))
++#else
++#define STRUCTURE_PACKING_ATTRIBUTE /* */
++#endif
++#endif
+
+ #ifdef TSS_DEBUG
+ #define DBG_ASSERT(x) assert(x)