commit 0f8ad3f117a6cc18dda34065c3d7c8104e50f413 from: Thomas Adam date: Fri Jul 15 14:02:33 2022 UTC gotwebd: wrap __packed via __attribute__ commit - a596b9579655b53f1549498aff25ae1d2c9dfc81 commit + 0f8ad3f117a6cc18dda34065c3d7c8104e50f413 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;