eal/windows: fix build
Windows headers pthread.h and fnmatch.h use 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>
This commit is contained in:
parent
1db72630da
commit
905a0c2082
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user