diff --git a/modules/gapi/src/backends/common/serialization.cpp b/modules/gapi/src/backends/common/serialization.cpp index eb503f2c94..3a60cbfda3 100644 --- a/modules/gapi/src/backends/common/serialization.cpp +++ b/modules/gapi/src/backends/common/serialization.cpp @@ -8,6 +8,8 @@ #include // map #include // indexed +#define NOMINMAX + #ifdef _WIN32 #include // htonl, ntohl #else