diff options
Diffstat (limited to 'plugins/ethercat/packet-ioraw.h')
-rw-r--r-- | plugins/ethercat/packet-ioraw.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/ethercat/packet-ioraw.h b/plugins/ethercat/packet-ioraw.h index a689430d7e..47f1ce14e0 100644 --- a/plugins/ethercat/packet-ioraw.h +++ b/plugins/ethercat/packet-ioraw.h @@ -25,15 +25,11 @@ #ifndef _PACKET_IORAW_H_ #define _PACKET_IORAW_H_ -/* Ensure the same data layout for all platforms */ -#pragma pack(push, 1) - /* headers are only used for size and offset calculation*/ typedef struct _IoRawParser { guint32 head; } IoRawParserHDR, *PIoRawParserHDR; - -#pragma pack(pop) +#define IoRawParserHDR_Len sizeof(IoRawParserHDR) #endif /* _PACKET_IORAW_H_*/ |