From b1b06d1920f7163a54e4b30e120cb52fda0cb9f9 Mon Sep 17 00:00:00 2001 From: maxice8 <30738253+maxice8@users.noreply.github.com> Date: Mon, 11 Mar 2019 14:32:45 -0300 Subject: [PATCH] Define ALLPERMS for musl libc systems. (#379) --- test/test_syscalls.c | 4 ++++ 1 file changed, 4 insertions(+) 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 #include +#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]; -- 2.30.2