diff --git a/src/deluge_core.cpp b/src/deluge_core.cpp index a31306ef2..8d002720b 100644 --- a/src/deluge_core.cpp +++ b/src/deluge_core.cpp @@ -37,7 +37,11 @@ // //----------------- #include - +#if defined(_WIN32) +# if defined(socklen_t) +# undef socklen_t +# endif +#endif #include #include #include