eal: fix build with some gcc 4.4 toolchains
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Signed-off-by: David Marchand <david.marchand@6wind.com>
This commit is contained in:
parent
88f93f9340
commit
896c37c5af
@ -54,6 +54,11 @@
|
||||
#include <rte_spinlock.h>
|
||||
#include <eal_private.h>
|
||||
|
||||
#ifndef TFD_NONBLOCK
|
||||
#include <fcntl.h>
|
||||
#define TFD_NONBLOCK O_NONBLOCK
|
||||
#endif
|
||||
|
||||
#define NS_PER_US 1000
|
||||
#define US_PER_MS 1000
|
||||
#define MS_PER_S 1000
|
||||
|
Loading…
Reference in New Issue
Block a user