aboutsummaryrefslogtreecommitdiff
path: root/src/fragmentation
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-21 09:40:15 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-21 09:40:15 +0000
commitc4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac (patch)
tree02e313a83c4416f07fadf650d33aff09dfe46130 /src/fragmentation
parent40e5092e9a5db88b4c9b62cb341596fbf6ce1cf8 (diff)
downloadgnunet-c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac.tar.gz
gnunet-c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac.zip
fixing 2012: network structure alignment now forced to be correct even on W32 using #pragma pack from gcc 4.x
Diffstat (limited to 'src/fragmentation')
-rw-r--r--src/fragmentation/fragmentation.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fragmentation/fragmentation.h b/src/fragmentation/fragmentation.h
index 3469dd27e..2f3ea67bb 100644
--- a/src/fragmentation/fragmentation.h
+++ b/src/fragmentation/fragmentation.h
@@ -27,6 +27,8 @@
27#include "platform.h" 27#include "platform.h"
28#include "gnunet_fragmentation_lib.h" 28#include "gnunet_fragmentation_lib.h"
29 29
30GNUNET_NETWORK_STRUCT_BEGIN
31
30/** 32/**
31 * Header for a message fragment. Followed by the 33 * Header for a message fragment. Followed by the
32 * original message. 34 * original message.
@@ -82,6 +84,6 @@ struct FragmentAcknowledgement
82 uint64_t bits; 84 uint64_t bits;
83 85
84}; 86};
85 87GNUNET_NETWORK_STRUCT_END
86 88
87#endif 89#endif