void-packages/srcpkgs/fuse/patches/fuse-paths.patch

21 lines
397 B
Diff

--- lib/mount_util.c
+++ lib/mount_util.c
@@ -16,6 +16,7 @@
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
+#include <paths.h>
#ifndef __NetBSD__
#include <mntent.h>
#endif
--- util/fusermount.c
+++ util/fusermount.c
@@ -20,6 +20,7 @@
#include <errno.h>
#include <fcntl.h>
#include <pwd.h>
+#include <paths.h>
#include <mntent.h>
#include <sys/wait.h>
#include <sys/stat.h>