aports/main/nfs-utils/include-unistd.patch
2023-11-19 12:14:41 +00:00

20 lines
415 B
Diff

--- a/support/reexport/fsidd.c
+++ b/support/reexport/fsidd.c
@@ -7,6 +7,7 @@
#include <dlfcn.h>
#endif
#include <event2/event.h>
+#include <unistd.h>
#include "conffile.h"
#include "reexport_backend.h"
--- a/support/reexport/reexport.c
+++ b/support/reexport/reexport.c
@@ -7,6 +7,7 @@
#endif
#include <sys/types.h>
#include <sys/vfs.h>
+#include <unistd.h>
#include <errno.h>
#include "nfsd_path.h"