From 675ff9094b101ec87cab84d7f5b6d74117da8bc3 Mon Sep 17 00:00:00 2001 From: Steve Lhomme <robux4@ycbcr.xyz> Date: Tue, 28 Jun 2022 14:55:18 +0200 Subject: [PATCH] win32: add more winsock errors --- src/win32/error.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/win32/error.c b/src/win32/error.c index dd14dfa8c494..cb2e3fc50130 100644 --- a/src/win32/error.c +++ b/src/win32/error.c @@ -25,6 +25,7 @@ #include <stdlib.h> #include <errno.h> #include <winerror.h> +#include <winsock2.h> #include <vlc_common.h> @@ -83,6 +84,7 @@ static const wsaerrmsg_t wsaerrmsg[] = { WSAEDQUOT, "Disk quota exceeded" }, { WSAESTALE, "Stale file handle reference" }, { WSAEREMOTE, "Item is remote", }, + { WSA_INVALID_PARAMETER, "Invalid parameter", }, { WSASYSNOTREADY, "Network subsystem is unavailable (network stack not ready)" }, { WSAVERNOTSUPPORTED, "Winsock.dll version out of range (network stack version not supported" }, { WSANOTINITIALISED, "Network not initialized" }, -- GitLab