aboutsummaryrefslogtreecommitdiff
path: root/src/include/block_fs.h
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/include/block_fs.h
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/include/block_fs.h')
-rw-r--r--src/include/block_fs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/block_fs.h b/src/include/block_fs.h
index 9dc22e57f..aae741e60 100644
--- a/src/include/block_fs.h
+++ b/src/include/block_fs.h
@@ -139,6 +139,8 @@ struct NBlock
139}; 139};
140 140
141 141
142GNUNET_NETWORK_STRUCT_BEGIN
143
142/** 144/**
143 * @brief index block (indexing a DBlock that 145 * @brief index block (indexing a DBlock that
144 * can be obtained directly from reading 146 * can be obtained directly from reading
@@ -160,6 +162,6 @@ struct OnDemandBlock
160 uint64_t offset GNUNET_PACKED; 162 uint64_t offset GNUNET_PACKED;
161 163
162}; 164};
163 165GNUNET_NETWORK_STRUCT_END
164 166
165#endif 167#endif