void-packages/srcpkgs/fuse3/patches/fix-musl.patch

17 lines
371 B
Diff

diff --git test/test_syscalls.c test/test_syscalls.c
index e9a5189..db4be56 100644
--- test/test_syscalls.c
+++ test/test_syscalls.c
@@ -14,6 +14,10 @@
#include <sys/types.h>
#include <sys/stat.h>
+#ifndef ALLPERMS
+# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)/* 07777 */
+#endif
+
static char testfile[1024];
static char testfile2[1024];