From: Tal Shnaiderman Date: Sat, 14 Nov 2020 22:21:29 +0000 (+0200) Subject: eal/windows: add definition of ETOOMANYREFS X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c917b54b0c743c7a570a4d8df8954c61d8b818c4;p=dpdk.git eal/windows: add definition of ETOOMANYREFS The ETOOMANYREFS errno was missing from the Windows build. It is used in initialization of flow error structures. It is defined with the same error code used by WSAETOOMANYREFS. Signed-off-by: Tal Shnaiderman Acked-by: Dmitry Kozlyuk --- diff --git a/lib/librte_eal/windows/include/rte_os.h b/lib/librte_eal/windows/include/rte_os.h index 569ed92d51..8300ea483a 100644 --- a/lib/librte_eal/windows/include/rte_os.h +++ b/lib/librte_eal/windows/include/rte_os.h @@ -51,6 +51,8 @@ extern "C" { /* as in */ typedef long long ssize_t; +#define ETOOMANYREFS 10059 /* WSAETOOMANYREFS */ + #ifndef RTE_TOOLCHAIN_GCC static inline int