summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/netinet/ip_icmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/netinet/ip_icmp.h')
-rw-r--r--cpukit/libnetworking/netinet/ip_icmp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/libnetworking/netinet/ip_icmp.h b/cpukit/libnetworking/netinet/ip_icmp.h
index b99ae94521..f311697166 100644
--- a/cpukit/libnetworking/netinet/ip_icmp.h
+++ b/cpukit/libnetworking/netinet/ip_icmp.h
@@ -37,6 +37,10 @@
#ifndef _NETINET_IP_ICMP_H_
#define _NETINET_IP_ICMP_H_
+#ifndef BYTE_PACK
+#define BYTE_PACK __attribute__((packed))
+#endif
+
/*
* Interface Control Message Protocol Definitions.
* Per RFC 792, September 1981.