Linux NFS development
 help / color / mirror / Atom feed
* [nfs-utils PATCH] fh_key_file.c: Fix build error with musl
@ 2026-05-08 13:57 liezhi.yang
  2026-05-08 14:08 ` Benjamin Coddington
  0 siblings, 1 reply; 3+ messages in thread
From: liezhi.yang @ 2026-05-08 13:57 UTC (permalink / raw)
  To: steved; +Cc: linux-nfs

From: Robert Yang <liezhi.yang@windriver.com>

Fixed:
error: implicit declaration of function 'strerror'

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 support/nfs/fh_key_file.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/support/nfs/fh_key_file.c b/support/nfs/fh_key_file.c
index 5f5eafc1..89555cee 100644
--- a/support/nfs/fh_key_file.c
+++ b/support/nfs/fh_key_file.c
@@ -30,6 +30,8 @@
 
 #include "nfslib.h"
 
+#include <string.h>
+
 #define HASH_BLOCKSIZE  256
 int hash_fh_key_file(const char *fh_key_file, uuid_t uuid)
 {
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-11 14:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-08 13:57 [nfs-utils PATCH] fh_key_file.c: Fix build error with musl liezhi.yang
2026-05-08 14:08 ` Benjamin Coddington
2026-05-11 14:16   ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox