commit 0740b40a442673200ab0f8ff693d72abdaca04a6 from: Thomas Adam date: Sat Jul 16 12:23:11 2022 UTC gotwebd: wrap __packed via __attribute__ commit - 8a35f56cb42a2c9617008c6e68cccf9b62939243 commit + 0740b40a442673200ab0f8ff693d72abdaca04a6 blob - 38c0c930eedf474fcef860b7a5336ec4ae64724d blob + dc7c84efaf6ec6c1ee3babbaf8c49795d4e21dd6 --- gotwebd/gotwebd.h +++ gotwebd/gotwebd.h @@ -133,7 +133,7 @@ struct fcgi_record_header { uint16_t content_len; uint8_t padding_len; uint8_t reserved; -}__packed; +}__attribute__((__packed__)); struct fcgi_response { TAILQ_ENTRY(fcgi_response) entry; @@ -236,7 +236,7 @@ struct fcgi_begin_request_body { uint16_t role; uint8_t flags; uint8_t reserved[5]; -}__packed; +}__attribute__((__packed__)); struct fcgi_end_request_body { uint32_t app_status;