diff --git a/src/steamnetworkingsockets/clientlib/steamnetworkingsockets_socketthread.cpp b/src/steamnetworkingsockets/clientlib/steamnetworkingsockets_socketthread.cpp index d7dd4086..b3e8f977 100644 --- a/src/steamnetworkingsockets/clientlib/steamnetworkingsockets_socketthread.cpp +++ b/src/steamnetworkingsockets/clientlib/steamnetworkingsockets_socketthread.cpp @@ -77,6 +77,7 @@ constexpr int k_cbETWEventUDPPacketDataSize = 16; #define CMSGHDR WSACMSGHDR #define CMSG_FIRSTHDR WSA_CMSG_FIRSTHDR #define CMSG_NXTHDR WSA_CMSG_NXTHDR + #define CMSG_LEN WSA_CMSG_LEN #endif #ifdef _WIN32