Hi Ross,

On 12/13/23 19:19, Ross Burton wrote:
On 11 Dec 2023, at 14:49, Robert Yang via lists.openembedded.org 
<liezhi.yang=windriver....@lists.openembedded.org> wrote:

+++ 
b/meta/recipes-connectivity/nfs-utils/nfs-utils/0001-reexport.h-Include-unistd.h-to-compile-with-musl.patch
@@ -0,0 +1,34 @@
+From 45597a58e98f351b18db8444292b1cf6dd0cd810 Mon Sep 17 00:00:00 2001
+From: Robert Yang <liezhi.y...@windriver.com>
+Date: Sat, 9 Dec 2023 23:34:08 -0800
+Subject: [PATCH] reexport.h: Include unistd.h to compile with musl
+
+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);
+
+
+Upstream-Status: Pending

Can you upstream this please?

Submitted: https://marc.info/?l=linux-nfs&m=170254661824522&w=2

// Robert


Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192342): 
https://lists.openembedded.org/g/openembedded-core/message/192342
Mute This Topic: https://lists.openembedded.org/mt/103109787/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to