aports/main/unfs3/implicit.patch
2023-04-11 22:57:00 +02:00

25 lines
507 B
Diff

strcmp, strdup
diff --git a/attr.c b/attr.c
index 6253e84..66227fa 100644
--- a/attr.c
+++ b/attr.c
@@ -9,6 +9,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <string.h>
#include <rpc/rpc.h>
#include <fcntl.h>
#include <time.h>
diff --git a/locate.c b/locate.c
index 6bbe71f..84e0fe5 100644
--- a/locate.c
+++ b/locate.c
@@ -27,6 +27,7 @@
#include "nfs.h"
#include "fh.h"
#include "daemon.h"
+#include "attr.h"
/*
* these are the brute-force file searching routines that are used