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_unix.c | |
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_unix.c')
-rw-r--r-- | src/transport/plugin_transport_unix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index 5f6c967f2..aebfeb883 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c | |||
@@ -64,6 +64,8 @@ | |||
64 | */ | 64 | */ |
65 | #define UNIX_NAT_DEFAULT_PORT 22086 | 65 | #define UNIX_NAT_DEFAULT_PORT 22086 |
66 | 66 | ||
67 | GNUNET_NETWORK_STRUCT_BEGIN | ||
68 | |||
67 | /** | 69 | /** |
68 | * UNIX Message-Packet header. | 70 | * UNIX Message-Packet header. |
69 | */ | 71 | */ |
@@ -131,6 +133,7 @@ struct IPv6UdpAddress | |||
131 | */ | 133 | */ |
132 | uint16_t u6_port GNUNET_PACKED; | 134 | uint16_t u6_port GNUNET_PACKED; |
133 | }; | 135 | }; |
136 | GNUNET_NETWORK_STRUCT_END | ||
134 | 137 | ||
135 | /* Forward definition */ | 138 | /* Forward definition */ |
136 | struct Plugin; | 139 | struct Plugin; |