From 74c402a2a3899028bd010ca79461f68fac80d293 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 17 Jul 2002 17:08:48 +0000 Subject: 2002-07-17 Jay Monkman * netinet/in.h, netinet/ip.h, netinet/ip_var.h, netinet/tcp.h: Modified to added packed attribute.o --- cpukit/libnetworking/netinet/in.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/libnetworking/netinet/in.h') diff --git a/cpukit/libnetworking/netinet/in.h b/cpukit/libnetworking/netinet/in.h index 36d2d4e867..7cc4709697 100644 --- a/cpukit/libnetworking/netinet/in.h +++ b/cpukit/libnetworking/netinet/in.h @@ -204,12 +204,12 @@ * have a fit if we use. */ #define IPPORT_RESERVEDSTART 600 - +#define BYTE_PACK __attribute__((packed)) /* * Internet address (a structure for historical reasons) */ struct in_addr { - u_long s_addr; + u_long s_addr BYTE_PACK; }; /* -- cgit v1.2.3