summaryrefslogtreecommitdiff
path: root/plugins/ethercat/packet-ioraw.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2007-10-15 18:39:58 +0000
committerAnders Broman <anders.broman@ericsson.com>2007-10-15 18:39:58 +0000
commit721796617d2f4353eef25b1e08945951917c4e65 (patch)
treecf6c57fe8c03dc5f58ca67697fef27d91d116380 /plugins/ethercat/packet-ioraw.h
parent4644ce72634f90e866519faf0a06aca2f7adee12 (diff)
downloadwireshark-721796617d2f4353eef25b1e08945951917c4e65.tar.gz
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.h6
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_*/