aboutsummaryrefslogtreecommitdiff
path: root/src/util/resolver.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/util/resolver.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/util/resolver.h')
-rw-r--r--src/util/resolver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/resolver.h b/src/util/resolver.h
index 57cb68650..eca753a55 100644
--- a/src/util/resolver.h
+++ b/src/util/resolver.h
@@ -29,6 +29,8 @@
29 29
30#define DEBUG_RESOLVER GNUNET_EXTRA_LOGGING 30#define DEBUG_RESOLVER GNUNET_EXTRA_LOGGING
31 31
32GNUNET_NETWORK_STRUCT_BEGIN
33
32/** 34/**
33 * Request for the resolver. Followed by either 35 * Request for the resolver. Followed by either
34 * the "struct sockaddr" or the 0-terminated hostname. 36 * the "struct sockaddr" or the 0-terminated hostname.
@@ -59,5 +61,6 @@ struct GNUNET_RESOLVER_GetMessage
59 int32_t domain GNUNET_PACKED; 61 int32_t domain GNUNET_PACKED;
60 62
61}; 63};
64GNUNET_NETWORK_STRUCT_END
62 65
63#endif 66#endif