Use __attribute instead of plain __packed.