eal: restore some needed header includes
PATCH 1/1 eal: restore some needed header includes
These are necessary to build when HPET is enabled.
Fixes 2ff3976e677c ("eal: remove unneeded header includes")
Signed-off-by Andrew Boyer <[email protected]>
--- lib/eal/linux/eal_timer.c | 6 ++++++ 1 file changed, 6 insertions(+)
lib/eal/linux/eal_timer.c +6 -0
@@ -5,6 +5,12 @@#include <stdio.h> #include <stdint.h> +#ifdef RTE_LIBEAL_USE_HPET +#include <fcntl.h> +#include <inttypes.h> +#include <sys/mman.h> +#include <unistd.h> +#endif #include <rte_common.h> #include <rte_cycles.h>
Signature · 1 line
2.17.1
Quoted 6 lines · Andrew Boyer
These are necessary to build when HPET is enabled.
Fixes 2ff3976e677c ("eal: remove unneeded header includes")Signed-off-by Andrew Boyer <[email protected]>
Acked-by Ferruh Yigit <[email protected]>
Thomas Monjalon
Applied23/09/2022 18:40, Ferruh Yigit:
Quoted 9 lines · Andrew Boyer
Quoted 6 lines
These are necessary to build when HPET is enabled.
Fixes 2ff3976e677c ("eal: remove unneeded header includes")Signed-off-by Andrew Boyer <[email protected]>Acked-by Ferruh Yigit <[email protected]>
+Cc stable
Applied, thanks.