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:
Bruce Richardson 2014-02-12 17:04:33 +00:00 committed by David Marchand
parent 88f93f9340
commit 896c37c5af

View File

@ -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