From d63df128200ffbf6ca255012f56c6fac8c7f49b1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Samuli=20Sepp=C3=A4nen?= <samuli@openvpn.net>
Date: Wed, 9 Nov 2011 03:55:31 -0800
Subject: [PATCH] Attempt to fix ticket #169
---
socket.c | 2 +-
win32.h | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/socket.c b/socket.c
index 5302eca..b2a3f4e 100644
a
|
b
|
link_socket_write_udp_posix_sendmsg (struct link_socket *sock, |
3085 | 3085 | * WSAAddressToString() and WSAStringToAddress() functions |
3086 | 3086 | */ |
3087 | 3087 | |
3088 | | #ifndef _MSC_VER |
| 3088 | #ifndef WINVER < 0x0600 |
3089 | 3089 | const char * |
3090 | 3090 | inet_ntop(int af, const void *src, char *dst, socklen_t size) |
3091 | 3091 | { |
diff --git a/win32.h b/win32.h
index 5b18e3c..7682a6d 100644
a
|
b
|
|
26 | 26 | #ifndef OPENVPN_WIN32_H |
27 | 27 | #define OPENVPN_WIN32_H |
28 | 28 | |
| 29 | #include "syshead.h" |
29 | 30 | #include "mtu.h" |
30 | 31 | |
31 | 32 | /* location of executables */ |
… |
… |
char *get_win_sys_path (void); |
278 | 279 | |
279 | 280 | /* call self in a subprocess */ |
280 | 281 | void fork_to_self (const char *cmdline); |
281 | | #ifndef _MSC_VER |
| 282 | #ifndef WINVER < 0x0600 |
282 | 283 | const char *inet_ntop(int af, const void *src, char *dst, socklen_t size); |
283 | 284 | int inet_pton(int af, const char *src, void *st); |
284 | 285 | #endif |