diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-08 07:29:35 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-08 07:29:35 +0000 |
commit | 55861c3343a378f55edc8350a53fe3f5a459ddcf (patch) | |
tree | 7565df2e86236e28f618137130c671909df596fb /cpukit | |
parent | 2005-05-08 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-55861c3343a378f55edc8350a53fe3f5a459ddcf.tar.bz2 |
Add BYTE_PACK.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/libnetworking/netinet/ip.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/libnetworking/netinet/ip.h b/cpukit/libnetworking/netinet/ip.h index 4d6ad4c204..4a06674da9 100644 --- a/cpukit/libnetworking/netinet/ip.h +++ b/cpukit/libnetworking/netinet/ip.h @@ -43,6 +43,10 @@ */ #define IPVERSION 4 +#ifndef BYTE_PACK +#define BYTE_PACK __attribute__((packed)) +#endif + /* * Structure of an internet header, naked of options. */ |