From: Bruce Richardson Date: Wed, 12 Feb 2014 17:04:33 +0000 (+0000) Subject: eal: fix build with some gcc 4.4 toolchains X-Git-Tag: spdx-start~11042 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=896c37c5af0e1b11071dae6d66017f80bfcebd54;p=dpdk.git eal: fix build with some gcc 4.4 toolchains Signed-off-by: Bruce Richardson Signed-off-by: David Marchand --- diff --git a/lib/librte_eal/linuxapp/eal/eal_alarm.c b/lib/librte_eal/linuxapp/eal/eal_alarm.c index 9a42df5561..f3d6e65ffe 100644 --- a/lib/librte_eal/linuxapp/eal/eal_alarm.c +++ b/lib/librte_eal/linuxapp/eal/eal_alarm.c @@ -54,6 +54,11 @@ #include #include +#ifndef TFD_NONBLOCK +#include +#define TFD_NONBLOCK O_NONBLOCK +#endif + #define NS_PER_US 1000 #define US_PER_MS 1000 #define MS_PER_S 1000