summaryrefslogtreecommitdiffstats
path: root/src/handshake.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/handshake.h')
-rw-r--r--src/handshake.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handshake.h b/src/handshake.h
index 997f955..ff4e55a 100644
--- a/src/handshake.h
+++ b/src/handshake.h
@@ -70,7 +70,7 @@ typedef enum fastd_reply_code {
/** The handshake packet structure (not including the initial packet type byte) */
-typedef struct __attribute__((__packed__)) fastd_handshake_packet {
+typedef struct __attribute__((packed)) fastd_handshake_packet {
uint8_t rsv; /**< Reserved (must be 0) */
uint16_t tlv_len; /**< Length of the TLV records (before fastd v11 this was always 0, which is interpreted as "the whole packet") */
uint8_t tlv_data[]; /**< TLV record data */