diff --git a/lib/prefix.h b/lib/prefix.h index 4a66b79502..1756dd21c8 100644 --- a/lib/prefix.h +++ b/lib/prefix.h @@ -44,7 +44,7 @@ */ struct ethaddr { u_char octet[ETHER_ADDR_LEN]; -} __packed; +} __attribute__ ((packed)); /* length is the number of valuable bits of prefix structure