v5.2: use pragma pack directive