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/peerinfo | |
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/peerinfo')
-rw-r--r-- | src/peerinfo/peerinfo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/peerinfo/peerinfo.h b/src/peerinfo/peerinfo.h index 992dde782..bf5677477 100644 --- a/src/peerinfo/peerinfo.h +++ b/src/peerinfo/peerinfo.h | |||
@@ -29,6 +29,8 @@ | |||
29 | 29 | ||
30 | #define DEBUG_PEERINFO GNUNET_EXTRA_LOGGING | 30 | #define DEBUG_PEERINFO GNUNET_EXTRA_LOGGING |
31 | 31 | ||
32 | GNUNET_NETWORK_STRUCT_BEGIN | ||
33 | |||
32 | /** | 34 | /** |
33 | * Message requesting a listing of all known peers, | 35 | * Message requesting a listing of all known peers, |
34 | * possibly restricted to the specified peer identity. | 36 | * possibly restricted to the specified peer identity. |
@@ -81,6 +83,6 @@ struct InfoMessage | |||
81 | struct GNUNET_PeerIdentity peer; | 83 | struct GNUNET_PeerIdentity peer; |
82 | 84 | ||
83 | }; | 85 | }; |
84 | 86 | GNUNET_NETWORK_STRUCT_END | |
85 | 87 | ||
86 | /* end of peerinfo.h */ | 88 | /* end of peerinfo.h */ |