aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxice8 <30738253+maxice8@users.noreply.github.com>2019-03-11 14:32:45 -0300
committerNikolaus Rath <Nikolaus@rath.org>2019-03-11 17:32:45 +0000
commitb1b06d1920f7163a54e4b30e120cb52fda0cb9f9 (patch)
treebd675de6abdd397591d48c02c33d76b2c576b593
parent064fe965618c5bbfc43e4519e80a299ee66ab6a8 (diff)
downloadlibfuse-b1b06d1920f7163a54e4b30e120cb52fda0cb9f9.tar.gz
Define ALLPERMS for musl libc systems. (#379)
-rw-r--r--test/test_syscalls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_syscalls.c b/test/test_syscalls.c
index e9a5189..db4be56 100644
--- a/test/test_syscalls.c
+++ b/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];