diff options
author | JuanJo Ciarlante <juanjosec@gmail.com> | 2011-03-27 23:41:22 +0200 |
---|---|---|
committer | JuanJo Ciarlante <juanjosec@gmail.com> | 2011-03-27 23:41:22 +0200 |
commit | 6dbf82a96253add5ed5f6c923080f4de4366c874 (patch) | |
tree | a76c1a9a488b4aad17e796a59401515cb129b5e8 /acinclude.m4 | |
parent | * ipv6-0.4.15b: rebase over openvpn-testing-master (diff) | |
download | openvpn-6dbf82a96253add5ed5f6c923080f4de4366c874.tar.xz |
* ipv6-0.4.16: fix mingw32 build
Diffstat (limited to '')
-rw-r--r-- | acinclude.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 185907f..acfc01d 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -123,5 +123,9 @@ AC_DEFUN([TYPE_SOCKLEN_T], AC_DEFINE_UNQUOTED(socklen_t, $curl_cv_socklen_t_equiv, [type to use in place of socklen_t if not defined])], [#include <sys/types.h> -#include <sys/socket.h>]) +#ifdef WIN32 +#include <ws2tcpip.h> +#else +#include <sys/socket.h> +#endif]) ]) |