>>471
#pragma pack(push, 1)
struct{構造体宣言};
#pragma pack(pop)
↓
struct{構造体宣言} __attribute__ ((pack));
でどうか。