summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libnetworking/netinet/in.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/libnetworking/netinet/in.h')
-rw-r--r--c/src/exec/libnetworking/netinet/in.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/libnetworking/netinet/in.h b/c/src/exec/libnetworking/netinet/in.h
index 36d2d4e867..7cc4709697 100644
--- a/c/src/exec/libnetworking/netinet/in.h
+++ b/c/src/exec/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;
};
/*