summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/netinet/in.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-17 17:08:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-17 17:08:48 +0000
commit74c402a2a3899028bd010ca79461f68fac80d293 (patch)
treef98755dae7dae783e1740e9f3fa08a0d9bb05d77 /cpukit/libnetworking/netinet/in.h
parent2002-07-16 Eric Norum <eric.norum@usask.ca> (diff)
downloadrtems-74c402a2a3899028bd010ca79461f68fac80d293.tar.bz2
2002-07-17 Jay Monkman <jtm@smoothsmoothie.com>
* netinet/in.h, netinet/ip.h, netinet/ip_var.h, netinet/tcp.h: Modified to added packed attribute.o
Diffstat (limited to 'cpukit/libnetworking/netinet/in.h')
-rw-r--r--cpukit/libnetworking/netinet/in.h4
1 files changed, 2 insertions, 2 deletions
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;
};
/*