X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fipv4.h;h=997b88d8998890bd1835ddcae8641a1cfe0cd4f4;hp=6cb969bd0136858035a465c69646aeb496ee4466;hb=c2dc3784f127ef6db6e9960a4abecc1aab6f4e31;hpb=d917c8cb6b69475d568ccbe82389b9f2b3eb5e80 diff --git a/src/ipv4.h b/src/ipv4.h index 6cb969bd..997b88d8 100644 --- a/src/ipv4.h +++ b/src/ipv4.h @@ -81,7 +81,7 @@ struct ip { uint8_t ip_p; uint16_t ip_sum; struct in_addr ip_src, ip_dst; -} __attribute__ ((__packed__)); +} __attribute__ ((__gcc_struct__, __packed__)); #endif #ifndef IP_OFFMASK @@ -143,7 +143,7 @@ struct icmp { #define icmp_radv icmp_dun.id_radv #define icmp_mask icmp_dun.id_mask #define icmp_data icmp_dun.id_data -} __attribute__ ((__packed__)); +} __attribute__ ((__gcc_struct__, __packed__)); #endif #endif /* __TINC_IPV4_H__ */