diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-12 03:42:44 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-12 03:42:44 +0000 |
commit | 954e959146d865ab28c96691ae43213829e528de (patch) | |
tree | 1f8ab99e36aef8b69de03e35a93ff0ec65ac8190 /cpukit/libnetworking/netinet/if_ether.h | |
parent | 2005-05-11 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-954e959146d865ab28c96691ae43213829e528de.tar.bz2 |
Define BYTE_PACK.
Diffstat (limited to 'cpukit/libnetworking/netinet/if_ether.h')
-rw-r--r-- | cpukit/libnetworking/netinet/if_ether.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/libnetworking/netinet/if_ether.h b/cpukit/libnetworking/netinet/if_ether.h index 5e39e43f2f..fba219ac35 100644 --- a/cpukit/libnetworking/netinet/if_ether.h +++ b/cpukit/libnetworking/netinet/if_ether.h @@ -40,6 +40,10 @@ #include <net/ethernet.h> #include <net/if_arp.h> +#ifndef BYTE_PACK +#define BYTE_PACK __attribute__((packed)) +#endif + #ifdef _KERNEL /* * Macro to map an IP multicast address to an Ethernet multicast address. |