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

* Re: [PATCH] eal: restore some needed header includes
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Ferruh Yigit @ 2022-09-23 16:40 UTC (permalink / raw)
  To: Andrew Boyer, dev; +Cc: sean.morrissey

On 9/23/2022 3:12 PM, Andrew Boyer wrote:
> 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>

Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] eal: restore some needed header includes
  2022-09-23 16:40 ` Ferruh Yigit
@ 2022-09-28 11:21   ` Thomas Monjalon
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2022-09-28 11:21 UTC (permalink / raw)
  To: Andrew Boyer; +Cc: dev, sean.morrissey, Ferruh Yigit

23/09/2022 18:40, Ferruh Yigit:
> On 9/23/2022 3:12 PM, Andrew Boyer wrote:
> > 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>
> 
> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>

+Cc stable

Applied, thanks.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] eal: restore some needed header includes
       [not found] <20220923132911.26996-1-Andrew.Boyer@amd.com>
@ 2022-09-23 16:39 ` Ferruh Yigit
  0 siblings, 0 replies; 4+ messages in thread
From: Ferruh Yigit @ 2022-09-23 16:39 UTC (permalink / raw)
  To: Andrew Boyer; +Cc: sean.morrissey, dev

On 9/23/2022 2:29 PM, Andrew Boyer wrote:
> 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>

Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

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).