Skip to contentSkip to conversation

fh_key_file.c: Fix build error with musl

PATCH In review [email protected] 3 participants 3 messages May 8 – May 11

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fh_key_file.c: Fix build error with musl

From: Robert Yang <[email protected]>

Fixed:
error: implicit declaration of function 'strerror'

---
 support/nfs/fh_key_file.c | 2 ++
 1 file changed, 2 insertions(+)
support/nfs/fh_key_file.c +2 -0
index 5f5eafc1..89555cee 100644
@@ -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)
 {
Signature · 1 line
2.49.0