From c917b54b0c743c7a570a4d8df8954c61d8b818c4 Mon Sep 17 00:00:00 2001 From: Tal Shnaiderman Date: Sun, 15 Nov 2020 00:21:29 +0200 Subject: [PATCH] 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 --- lib/librte_eal/windows/include/rte_os.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.20.1