From: Yi Lu Date: Thu, 28 Jan 2016 14:16:40 +0000 (+0000) Subject: eal/linux: fix build with hpet X-Git-Tag: spdx-start~7569 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3560681d68a16599e1b149799210b0de43c660aa;p=dpdk.git eal/linux: fix build with hpet Fix compile error when enable CONFIG_RTE_LIBEAL_USE_HPET. Error messages: lib/librte_eal/linuxapp/eal/eal_timer.c: In function ‘rte_eal_hpet_init’: lib/librte_eal/linuxapp/eal/eal_timer.c:222:2: error: implicit declaration of function ‘rte_thread_setname’ Fixes: badb3688ffa8 ("eal/linux: fix build with glibc < 2.12") Signed-off-by: Yi Lu Acked-by: David Marchand --- diff --git a/lib/librte_eal/linuxapp/eal/eal_timer.c b/lib/librte_eal/linuxapp/eal/eal_timer.c index 6f95d8e21d..f2abb7b689 100644 --- a/lib/librte_eal/linuxapp/eal/eal_timer.c +++ b/lib/librte_eal/linuxapp/eal/eal_timer.c @@ -47,6 +47,7 @@ #include #include #include +#include #include #include #include