aboutsummaryrefslogtreecommitdiff
path: root/src/include/block_dns.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/include/block_dns.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/include/block_dns.h')
-rw-r--r--src/include/block_dns.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/block_dns.h b/src/include/block_dns.h
index 1c01754de..21dcc7acb 100644
--- a/src/include/block_dns.h
+++ b/src/include/block_dns.h
@@ -13,6 +13,7 @@ enum GNUNET_DNS_ServiceTypes
13 GNUNET_DNS_SERVICE_TYPE_TCP = 2 13 GNUNET_DNS_SERVICE_TYPE_TCP = 2
14}; 14};
15 15
16GNUNET_NETWORK_STRUCT_BEGIN
16 17
17/** 18/**
18 * This is the structure describing an dns-record such as www.gnunet. 19 * This is the structure describing an dns-record such as www.gnunet.
@@ -57,5 +58,6 @@ struct GNUNET_DNS_Record
57 */ 58 */
58 uint32_t service_type GNUNET_PACKED; 59 uint32_t service_type GNUNET_PACKED;
59}; 60};
61GNUNET_NETWORK_STRUCT_END
60 62
61#endif 63#endif