diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-21 09:40:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-21 09:40:15 +0000 |
commit | c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac (patch) | |
tree | 02e313a83c4416f07fadf650d33aff09dfe46130 /src/transport/plugin_transport_http.h | |
parent | 40e5092e9a5db88b4c9b62cb341596fbf6ce1cf8 (diff) | |
download | gnunet-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/transport/plugin_transport_http.h')
-rw-r--r-- | src/transport/plugin_transport_http.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_http.h b/src/transport/plugin_transport_http.h index 84a92c284..9e16e93c8 100644 --- a/src/transport/plugin_transport_http.h +++ b/src/transport/plugin_transport_http.h | |||
@@ -260,6 +260,8 @@ struct Plugin | |||
260 | 260 | ||
261 | }; | 261 | }; |
262 | 262 | ||
263 | GNUNET_NETWORK_STRUCT_BEGIN | ||
264 | |||
263 | /** | 265 | /** |
264 | * IPv4 addresses | 266 | * IPv4 addresses |
265 | */ | 267 | */ |
@@ -291,7 +293,7 @@ struct IPv6HttpAddress | |||
291 | */ | 293 | */ |
292 | uint16_t u6_port GNUNET_PACKED; | 294 | uint16_t u6_port GNUNET_PACKED; |
293 | }; | 295 | }; |
294 | 296 | GNUNET_NETWORK_STRUCT_END | |
295 | 297 | ||
296 | /** | 298 | /** |
297 | * Session handle for connections. | 299 | * Session handle for connections. |