diff options
author | Anders Broman <anders.broman@ericsson.com> | 2007-10-15 18:39:58 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2007-10-15 18:39:58 +0000 |
commit | 721796617d2f4353eef25b1e08945951917c4e65 (patch) | |
tree | cf6c57fe8c03dc5f58ca67697fef27d91d116380 /plugins/ethercat/packet-ioraw.h | |
parent | 4644ce72634f90e866519faf0a06aca2f7adee12 (diff) |
From Peter Johansson:
addressing the compilation problems
svn path=/trunk/; revision=23188
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_*/ |