[ofw] [PATCH] uDAPL v2: windows platform specific: include w2tcpip.h for sockaddr_in6 definitions.
Arlin Davis
arlin.r.davis at intel.com
Wed Jul 29 10:05:31 PDT 2009
Signed-off-by: Arlin Davis <arlin.r.davis at intel.com>
---
dat/include/dat2/dat_platform_specific.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dat/include/dat2/dat_platform_specific.h b/dat/include/dat2/dat_platform_specific.h
index 79e8d3a..addea83 100644
--- a/dat/include/dat2/dat_platform_specific.h
+++ b/dat/include/dat2/dat_platform_specific.h
@@ -196,6 +196,8 @@ typedef struct sockaddr_in6 DAT_SOCK_ADDR6; /* Socket address header native
#elif defined(_MSC_VER) || defined(_WIN32) || defined(_WIN64)
/* NT. MSC compiler, Win32/64 platform */
+#include <ws2tcpip.h>
+
typedef unsigned __int32 DAT_UINT32; /* Unsigned host order, 32 bits */
typedef unsigned __int64 DAT_UINT64; /* unsigned host order, 64 bits */
typedef unsigned long DAT_UVERYLONG; /* unsigned longest native to compiler */
--
1.5.2.5
More information about the ofw
mailing list