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/gnunet-helper-transport-wlan.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/gnunet-helper-transport-wlan.c')
-rw-r--r-- | src/transport/gnunet-helper-transport-wlan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/gnunet-helper-transport-wlan.c b/src/transport/gnunet-helper-transport-wlan.c index fcdd9d520..72314beb2 100644 --- a/src/transport/gnunet-helper-transport-wlan.c +++ b/src/transport/gnunet-helper-transport-wlan.c | |||
@@ -328,6 +328,7 @@ struct SendBuffer | |||
328 | char buf[MAXLINE * 2]; | 328 | char buf[MAXLINE * 2]; |
329 | }; | 329 | }; |
330 | 330 | ||
331 | GNUNET_NETWORK_STRUCT_BEGIN | ||
331 | 332 | ||
332 | /** | 333 | /** |
333 | * generic definitions for IEEE 802.11 frames | 334 | * generic definitions for IEEE 802.11 frames |
@@ -343,7 +344,7 @@ struct ieee80211_frame | |||
343 | /* possibly followed by addr4[IEEE80211_ADDR_LEN]; */ | 344 | /* possibly followed by addr4[IEEE80211_ADDR_LEN]; */ |
344 | /* see below */ | 345 | /* see below */ |
345 | } GNUNET_PACKED; | 346 | } GNUNET_PACKED; |
346 | 347 | GNUNET_NETWORK_STRUCT_END | |
347 | 348 | ||
348 | /** | 349 | /** |
349 | * struct for storing the information of the hardware | 350 | * struct for storing the information of the hardware |