summaryrefslogtreecommitdiffstats
path: root/src/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/packet.h')
-rw-r--r--src/packet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packet.h b/src/packet.h
index 9ae04f7..d442d18 100644
--- a/src/packet.h
+++ b/src/packet.h
@@ -55,7 +55,7 @@ typedef enum _fastd_reply_code {
} fastd_reply_code;
-typedef struct _fastd_packet {
+typedef struct __attribute__ ((__packed__)) _fastd_packet {
#if defined(__LITTLE_ENDIAN_BITFIELD)
unsigned req_id : 6;
unsigned cp : 1;