Checks
Commit Message
From: Tal Shnaiderman <talshn@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 <talshn@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(+)
Comments
21/04/2020 17:05, talshn@mellanox.com:
> From: Tal Shnaiderman <talshn@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 <talshn@mellanox.com>
> ---
> Depends-on: patch-68444
> (eal/windows: do not expose private EAL facilities)
Applied, thanks
@@ -14,6 +14,8 @@
extern "C" {
#endif
+#include <rte_common.h>
+
#define FNM_NOMATCH 1
/**
@@ -17,6 +17,7 @@ extern "C" {
#endif
#include <windows.h>
+#include <rte_common.h>
#define PTHREAD_BARRIER_SERIAL_THREAD TRUE