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/chat | |
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/chat')
-rw-r--r-- | src/chat/chat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/chat/chat.h b/src/chat/chat.h index 9a52a2d75..5df7773a7 100644 --- a/src/chat/chat.h +++ b/src/chat/chat.h | |||
@@ -41,6 +41,8 @@ | |||
41 | * Client-service messages | 41 | * Client-service messages |
42 | */ | 42 | */ |
43 | 43 | ||
44 | GNUNET_NETWORK_STRUCT_BEGIN | ||
45 | |||
44 | /** | 46 | /** |
45 | * Notification sent by service to client indicating that we've received a chat | 47 | * Notification sent by service to client indicating that we've received a chat |
46 | * message. After this struct, the remaining bytes are the actual text message. | 48 | * message. After this struct, the remaining bytes are the actual text message. |
@@ -476,6 +478,7 @@ struct P2PConfirmationReceiptMessage | |||
476 | GNUNET_HashCode content; | 478 | GNUNET_HashCode content; |
477 | 479 | ||
478 | }; | 480 | }; |
481 | GNUNET_NETWORK_STRUCT_END | ||
479 | 482 | ||
480 | #endif | 483 | #endif |
481 | 484 | ||