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)
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 a32fe0908a..efab3a7a77 100644
--- a/src/nat/nat.h
+++ b/src/nat/nat.h
@@ -30,6 +30,8 @@
#define DEBUG_NAT GNUNET_EXTRA_LOGGING
+GNUNET_NETWORK_STRUCT_BEGIN
+
/**
* Request to test NAT traversal.
*/
@@ -61,5 +63,6 @@ struct GNUNET_NAT_TestMessage
int32_t is_tcp;
};
+GNUNET_NETWORK_STRUCT_END
#endif