Define QOS_FLOWID before it is used. This fixes the following errors. In file included from ../../../../../b/src/3rdparty/chromium/net/socket/udp_socket_win.h:14: qos2.h:87:3: error: unknown type name 'PQOS_FLOWID' PQOS_FLOWID FlowId ^ qos2.h:112:3: error: unknown type name 'QOS_FLOWID' QOS_FLOWID FlowId, ^
Signed-off-by: Biswapriyo Nath <nathbap...@gmail.com> --- mingw-w64-headers/include/qos2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mingw-w64-headers/include/qos2.h b/mingw-w64-headers/include/qos2.h index b05f8f4..4f840bf 100644 --- a/mingw-w64-headers/include/qos2.h +++ b/mingw-w64-headers/include/qos2.h @@ -14,6 +14,8 @@ extern "C" { #endif +typedef ULONG QOS_FLOWID, *PQOS_FLOWID; + typedef enum _QOS_SHAPING { QOSShapeOnly = 0, QOSShapeAndMark = 1, @@ -26,7 +28,7 @@ typedef enum _QOS_FLOWRATE_REASON { QOSFlowRateCongestion = 2, QOSFlowRateHigherContentEncoding = 3, QOSFlowRateUserCaused = 4 -} QOS_FLOWRATE_REASON, PQOS_FLOWRATE_REASON; +} QOS_FLOWRATE_REASON, *PQOS_FLOWRATE_REASON; typedef enum _QOS_NOTIFY_FLOW { QOSNotifyCongested = 0, @@ -142,8 +144,6 @@ WINBOOL WINAPI QOSRemoveSocketFromFlow( #define QOSSetOutgoingRate 1 #define QOSSetOutgoingDSCPValue 2 -typedef UINT32 QOS_FLOWID; - WINBOOL WINAPI QOSSetFlow( HANDLE QOSHandle, QOS_FLOWID FlowId, -- 2.41.0 _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public