This fixes the following errors.

In file included from 
../../../../../b/src/3rdparty/chromium/net/socket/udp_socket_win.h:14:
qos2.h:60:3: error: unknown type name 'UINT32'
  UINT32 RTT;
  ^
qos2.h:77:3: error: unknown type name 'USHORT'; did you mean 'SHORT'?
  USHORT MajorVersion;
  ^

Signed-off-by: Biswapriyo Nath <nathbap...@gmail.com>
---
 mingw-w64-headers/include/qos2.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/mingw-w64-headers/include/qos2.h b/mingw-w64-headers/include/qos2.h
index 72e984d..b05f8f4 100644
--- a/mingw-w64-headers/include/qos2.h
+++ b/mingw-w64-headers/include/qos2.h
@@ -6,6 +6,10 @@
 #ifndef _INC_QOS2
 #define _INC_QOS2
 #if (_WIN32_WINNT >= 0x0600)
+
+#include <ws2tcpip.h>
+#include <mstcpip.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
-- 
2.41.0



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to