diff --git a/easy_profiler_core/easy_socket.cpp b/easy_profiler_core/easy_socket.cpp index 51a6ce39..05f63087 100644 --- a/easy_profiler_core/easy_socket.cpp +++ b/easy_profiler_core/easy_socket.cpp @@ -42,11 +42,15 @@ limitations under the License. #include #include #include +#include #if defined(_WIN32) # pragma comment (lib, "Ws2_32.lib") # pragma comment (lib, "Mswsock.lib") # pragma comment (lib, "AdvApi32.lib") +# ifdef max +# undef max +# endif #else # include # include