DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@amd.com>
To: Andrew Boyer <Andrew.Boyer@amd.com>
Cc: <sean.morrissey@intel.com>, <dev@dpdk.org>
Subject: Re: [PATCH] eal: restore some needed header includes
Date: Fri, 23 Sep 2022 17:39:18 +0100	[thread overview]
Message-ID: <f1f122d1-0a0a-07c7-5959-0305141c0b4d@amd.com> (raw)
In-Reply-To: <20220923132911.26996-1-Andrew.Boyer@amd.com>

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>

       reply	other threads:[~2022-09-23 16:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220923132911.26996-1-Andrew.Boyer@amd.com>
2022-09-23 16:39 ` Ferruh Yigit [this message]
2022-09-23 14:12 Andrew Boyer
2022-09-23 16:40 ` Ferruh Yigit
2022-09-28 11:21   ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f1f122d1-0a0a-07c7-5959-0305141c0b4d@amd.com \
    --to=ferruh.yigit@amd.com \
    --cc=Andrew.Boyer@amd.com \
    --cc=dev@dpdk.org \
    --cc=sean.morrissey@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).