From c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 21 Dec 2011 09:40:15 +0000 Subject: fixing 2012: network structure alignment now forced to be correct even on W32 using #pragma pack from gcc 4.x --- src/nat/nat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nat/nat.h') 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 -- cgit v1.2.3-18-g5258