aboutsummaryrefslogtreecommitdiff
path: root/src/nat/nat.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-21 09:40:15 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-21 09:40:15 +0000
commitc4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac (patch)
tree02e313a83c4416f07fadf650d33aff09dfe46130 /src/nat/nat.h
parent40e5092e9a5db88b4c9b62cb341596fbf6ce1cf8 (diff)
downloadgnunet-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/nat/nat.h')
-rw-r--r--src/nat/nat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nat/nat.h b/src/nat/nat.h
index a32fe0908..efab3a7a7 100644
--- a/src/nat/nat.h
+++ b/src/nat/nat.h
@@ -30,6 +30,8 @@
30 30
31#define DEBUG_NAT GNUNET_EXTRA_LOGGING 31#define DEBUG_NAT GNUNET_EXTRA_LOGGING
32 32
33GNUNET_NETWORK_STRUCT_BEGIN
34
33/** 35/**
34 * Request to test NAT traversal. 36 * Request to test NAT traversal.
35 */ 37 */
@@ -61,5 +63,6 @@ struct GNUNET_NAT_TestMessage
61 int32_t is_tcp; 63 int32_t is_tcp;
62 64
63}; 65};
66GNUNET_NETWORK_STRUCT_END
64 67
65#endif 68#endif