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: Mon, 11 Nov 2024 11:24:38 -0600 [thread overview]
Message-ID: <3130fa49-cfdb-4f96-8779-7b10a4e61a8c@redhat.com> (raw)
In-Reply-To: <20231214101206.70608-1-liezhi.yang@windriver.com>
On 12/14/23 4: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>
Committed... (tag: nfs-utils-2-8-2-rc1)
steved.
> ---
> support/reexport/reexport.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> 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 {
prev parent reply other threads:[~2024-11-11 17:24 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
2024-11-11 17:24 ` Steve Dickson [this message]
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=3130fa49-cfdb-4f96-8779-7b10a4e61a8c@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