26 lines
627 B
Diff
26 lines
627 B
Diff
From d802c86efdb754ad226e0ea5ce55029abb800adb Mon Sep 17 00:00:00 2001
|
|
From: lemmi <lemmi@nerd2nerd.org>
|
|
Date: Wed, 22 Sep 2021 10:01:40 +0200
|
|
Subject: [PATCH] ALLPERMS isn't specified in POSIX so musl doesn't define it
|
|
|
|
---
|
|
src/FormatUtil.h | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/src/FormatUtil.h b/src/FormatUtil.h
|
|
index dee739e..a7f6a46 100644
|
|
--- a/src/FormatUtil.h
|
|
+++ b/src/FormatUtil.h
|
|
@@ -9,6 +9,9 @@
|
|
#ifndef FormatUtil_h
|
|
#define FormatUtil_h
|
|
|
|
+#ifndef ALLPERMS
|
|
+#define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)
|
|
+#endif
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
--
|
|
2.33.0
|
|
|