public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Steve Dickson <steved@redhat.com>
To: liezhi.yang@windriver.com, linux-nfs@vger.kernel.org
Subject: Re: [nfs-utils PATCH] reexport.h: Include unistd.h to compile with musl
Date: Wed, 3 Jan 2024 19:42:45 -0500	[thread overview]
Message-ID: <ddc121f6-e80d-43ea-894d-2ad10cdf3051@redhat.com> (raw)
In-Reply-To: <20231214101206.70608-1-liezhi.yang@windriver.com>



On 12/14/23 5:12 AM, liezhi.yang@windriver.com wrote:
> From: Robert Yang <liezhi.yang@windriver.com>
> 
> Fixed error when compile with musl
> reexport.c: In function 'reexpdb_init':
> reexport.c:62:17: error: implicit declaration of function 'sleep' [-Werror=implicit-function-declaration]
>     62 |                 sleep(1);
> 
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>   support/reexport/reexport.h | 2 ++
>   1 file changed, 2 insertions(+)
I believe this is fixed the last RC release
Please me know if that is not the case.

steved.

> 
> diff --git a/support/reexport/reexport.h b/support/reexport/reexport.h
> index 85fd59c1..02f86844 100644
> --- a/support/reexport/reexport.h
> +++ b/support/reexport/reexport.h
> @@ -1,6 +1,8 @@
>   #ifndef REEXPORT_H
>   #define REEXPORT_H
>   
> +#include <unistd.h>
> +
>   #include "nfslib.h"
>   
>   enum {


  reply	other threads:[~2024-01-04  0:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-14 10:12 [nfs-utils PATCH] reexport.h: Include unistd.h to compile with musl liezhi.yang
2024-01-04  0:42 ` Steve Dickson [this message]
2024-11-11 17:24 ` Steve Dickson

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=ddc121f6-e80d-43ea-894d-2ad10cdf3051@redhat.com \
    --to=steved@redhat.com \
    --cc=liezhi.yang@windriver.com \
    --cc=linux-nfs@vger.kernel.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