1 --- src/include/tcs_tsp.h.orig 2016-11-19 03:09:49 UTC 2 +++ src/include/tcs_tsp.h 3 @@ -79,7 +79,13 @@ struct key_disk_cache 4 /* XXX Get rid of this, there's no reason to set an arbitrary limit */ 5 #define MAX_KEY_CHILDREN 10 6 7 +#ifndef STRUCTURE_PACKING_ATTRIBUTE 8 +#ifdef __GCC 9 #define STRUCTURE_PACKING_ATTRIBUTE __attribute__((packed)) 10 +#else 11 +#define STRUCTURE_PACKING_ATTRIBUTE /* */ 12 +#endif 13 +#endif 14 15 #ifdef TSS_DEBUG 16 #define DBG_ASSERT(x) assert(x) 17