DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Burakov, Anatoly" <anatoly.burakov@intel.com>
To: <dev@dpdk.org>
Subject: Re: [PATCH 1/1] vfio: Make buildable with MUSL runtime
Date: Mon, 22 May 2023 10:27:15 +0100	[thread overview]
Message-ID: <9ebbc874-a6b0-b2f0-8e3b-e1f7d5bd0e8f@intel.com> (raw)
In-Reply-To: <20230520180730.5789-1-philipp@redfish-solutions.com>

On 5/20/2023 7:07 PM, Philip Prindeville wrote:
> From: Philip Prindeville <philipp@redfish-solutions.com>
> 
> pread64() and pwrite64() are declared in <unistd.h> in MUSL and
> other (i.e. not glibc) C runtimes.
> 
> Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
> ---
>   drivers/bus/pci/linux/pci_vfio.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/bus/pci/linux/pci_vfio.c b/drivers/bus/pci/linux/pci_vfio.c
> index fab3483d9f8108fafaff6d022cd41165d1ec5a61..fe83e1a04ec2e7a891425144be3e0aacecb24f09 100644
> --- a/drivers/bus/pci/linux/pci_vfio.c
> +++ b/drivers/bus/pci/linux/pci_vfio.c
> @@ -2,6 +2,7 @@
>    * Copyright(c) 2010-2014 Intel Corporation
>    */
>   
> +#include <unistd.h>
>   #include <string.h>
>   #include <fcntl.h>
>   #include <linux/pci_regs.h>

Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>

-- 
Thanks,
Anatoly


  reply	other threads:[~2023-05-22  9:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-20 18:07 Philip Prindeville
2023-05-22  9:27 ` Burakov, Anatoly [this message]
2023-05-23 10:33   ` Thomas Monjalon
2023-05-23 15:46     ` Philip Prindeville
2023-05-23 16:36       ` Thomas Monjalon
2023-05-23 19:00         ` Philip Prindeville

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=9ebbc874-a6b0-b2f0-8e3b-e1f7d5bd0e8f@intel.com \
    --to=anatoly.burakov@intel.com \
    --cc=dev@dpdk.org \
    /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).