summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/netinet/tcp.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-05-12 03:42:44 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-05-12 03:42:44 +0000
commit954e959146d865ab28c96691ae43213829e528de (patch)
tree1f8ab99e36aef8b69de03e35a93ff0ec65ac8190 /cpukit/libnetworking/netinet/tcp.h
parent2005-05-11 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-954e959146d865ab28c96691ae43213829e528de.tar.bz2
Define BYTE_PACK.
Diffstat (limited to 'cpukit/libnetworking/netinet/tcp.h')
-rw-r--r--cpukit/libnetworking/netinet/tcp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/libnetworking/netinet/tcp.h b/cpukit/libnetworking/netinet/tcp.h
index 131d8011cf..9abe92627a 100644
--- a/cpukit/libnetworking/netinet/tcp.h
+++ b/cpukit/libnetworking/netinet/tcp.h
@@ -37,6 +37,10 @@
#ifndef _NETINET_TCP_H_
#define _NETINET_TCP_H_
+#ifndef BYTE_PACK
+#define BYTE_PACK __attribute__((packed))
+#endif
+
typedef u_long tcp_seq;
typedef u_long tcp_cc; /* connection count per rfc1644 */