Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/netinet/ip.h,v rcsdiff: /ftp/cvs/cvsroot/src/sys/netinet/ip.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.29.32.1 retrieving revision 1.30 diff -u -p -r1.29.32.1 -r1.30 --- src/sys/netinet/ip.h 2008/01/02 21:57:19 1.29.32.1 +++ src/sys/netinet/ip.h 2007/12/21 02:07:54 1.30 @@ -1,4 +1,4 @@ -/* $NetBSD: ip.h,v 1.29.32.1 2008/01/02 21:57:19 bouyer Exp $ */ +/* $NetBSD: ip.h,v 1.30 2007/12/21 02:07:54 matt Exp $ */ /* * Copyright (c) 1982, 1986, 1993 @@ -65,7 +65,7 @@ struct ip { u_int8_t ip_p; /* protocol */ u_int16_t ip_sum; /* checksum */ struct in_addr ip_src, ip_dst; /* source and dest address */ -} __packed; +} __attribute__((__packed__)); #define IP_MAXPACKET 65535 /* maximum packet size */ #define IP_MINFRAGSIZE 69 /* minumum size that can be fraged */ @@ -150,9 +150,9 @@ struct ip_timestamp { struct ipt_ta { struct in_addr ipt_addr; n_time ipt_time; - } ipt_ta[1] __packed; - } ipt_timestamp __packed; -} __packed; + } ipt_ta[1] __attribute__((__packed__)); + } ipt_timestamp __attribute__((__packed__)); +} __attribute__((__packed__)); /* flag bits for ipt_flg */ #define IPOPT_TS_TSONLY 0 /* timestamps only */