diff options
author | Avuton Olrich <avuton@gmail.com> | 2011-12-10 18:37:45 -0800 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-12-12 09:19:34 +0100 |
commit | ef39da59731afd37f5e511caf1cf6ce71fd0d38b (patch) | |
tree | 72c5a8fbb2b22b4aa91f373e00cd16da9e26cb98 /configure.ac | |
parent | 81e8c4bbffd95d9b5f8166970bd9470e8903d4e8 (diff) | |
download | mpd-ef39da59731afd37f5e511caf1cf6ce71fd0d38b.tar.gz mpd-ef39da59731afd37f5e511caf1cf6ce71fd0d38b.tar.xz mpd-ef39da59731afd37f5e511caf1cf6ce71fd0d38b.zip |
configure/utils: Add ipv6 support for mingw build
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 1b1aa88df..4d274bfa2 100644 --- a/configure.ac +++ b/configure.ac @@ -446,7 +446,11 @@ if test x$enable_ipv6 = xyes; then AC_EGREP_CPP([AP_maGiC_VALUE], [ #include <sys/types.h> +#ifdef WIN32 +#include <winsock2.h> +#else #include <sys/socket.h> +#endif #include <netdb.h> #ifdef PF_INET6 #ifdef AF_INET6 |