From: Tal Shnaiderman <tal...@mellanox.com> Windows headers pthread.h and fnmatch.h uses rte_common types
The error is: error: unknown type name '__rte_unused' The fix adds the missing includes. Bugzilla ID: 458 Fixes: f2fc83b40f06 ("replace unused attributes") Signed-off-by: Tal Shnaiderman <tal...@mellanox.com> --- Depends-on: patch-68444 (eal/windows: do not expose private EAL facilities) --- lib/librte_eal/windows/include/fnmatch.h | 2 ++ lib/librte_eal/windows/include/pthread.h | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/librte_eal/windows/include/fnmatch.h b/lib/librte_eal/windows/include/fnmatch.h index 41b574312..d0159f07a 100644 --- a/lib/librte_eal/windows/include/fnmatch.h +++ b/lib/librte_eal/windows/include/fnmatch.h @@ -14,6 +14,8 @@ extern "C" { #endif +#include <rte_common.h> + #define FNM_NOMATCH 1 /** diff --git a/lib/librte_eal/windows/include/pthread.h b/lib/librte_eal/windows/include/pthread.h index 7c0caaf07..0bbed5c3b 100644 --- a/lib/librte_eal/windows/include/pthread.h +++ b/lib/librte_eal/windows/include/pthread.h @@ -17,6 +17,7 @@ extern "C" { #endif #include <windows.h> +#include <rte_common.h> #define PTHREAD_BARRIER_SERIAL_THREAD TRUE -- 2.16.1.windows.4