1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/security/trousers/files/patch-src-include-tcs_tsp.h
Norikatsu Shigemura 7612f38ced Add trousers 0.3.6, is a CPL (Common Public License) licensed Trusted
Computing Software Stack.  It is mostly compliant with the TSS 1.2
specification.

Obtained from:	http://bsssd.sourceforge.net/
2010-11-07 12:05:27 +00:00

17 lines
485 B
C

--- 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)