dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] eal: restore some needed header includes
@ 2022-09-23 14:12 Andrew Boyer
  2022-09-23 16:40 ` Ferruh Yigit
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Boyer @ 2022-09-23 14:12 UTC (permalink / raw)
  To: dev; +Cc: Ferruh.Yigit, Andrew Boyer, sean.morrissey

These are necessary to build when HPET is enabled.

Fixes: 2ff3976e677c ("eal: remove unneeded header includes")
Cc: sean.morrissey@intel.com

Signed-off-by: Andrew Boyer <Andrew.Boyer@amd.com>
---
 lib/eal/linux/eal_timer.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/eal/linux/eal_timer.c b/lib/eal/linux/eal_timer.c
index 620baf038d..95c8cca992 100644
--- a/lib/eal/linux/eal_timer.c
+++ b/lib/eal/linux/eal_timer.c
@@ -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>
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread
[parent not found: <20220923132911.26996-1-Andrew.Boyer@amd.com>]

end of thread, other threads:[~2022-09-28 11:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-23 14:12 [PATCH] eal: restore some needed header includes Andrew Boyer
2022-09-23 16:40 ` Ferruh Yigit
2022-09-28 11:21   ` Thomas Monjalon
     [not found] <20220923132911.26996-1-Andrew.Boyer@amd.com>
2022-09-23 16:39 ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).