[dpdk-dev] eal/linux: fix compilation error CONFIG_RTE_LIBEAL_USE_HPET
Commit Message
When CONFIG_RTE_LIBEAL_USE_HPET=y is set, eal_timer.c does not compile
anymore. Just add simple missing include.
Signed-off-by: Vincent JARDIN <vincent.jardin@6wind.com>
---
lib/librte_eal/linuxapp/eal/eal_timer.c | 1 +
1 file changed, 1 insertion(+)
Comments
2016-02-11 00:05, Vincent JARDIN:
> When CONFIG_RTE_LIBEAL_USE_HPET=y is set, eal_timer.c does not compile
> anymore. Just add simple missing include.
>
> Signed-off-by: Vincent JARDIN <vincent.jardin@6wind.com>
It has been fixed in another patch:
http://dpdk.org/browse/dpdk/commit/?id=3560681d68
@@ -51,6 +51,7 @@
#include <rte_memzone.h>
#include <rte_eal.h>
#include <rte_debug.h>
+#include <rte_lcore.h>
#include "eal_private.h"
#include "eal_internal_cfg.h"