blob: 1a2233209462a799f7359e833d77078cc8b608eb [file] [log] [blame]
From 37a0999e5a9f54e1c61a02a7fbab6fcd04738b3c Mon Sep 17 00:00:00 2001
From: Armin Kuster <akuster808@gmail.com>
Date: Thu, 8 Oct 2020 05:54:13 -0700
Subject: [PATCH] Provide missing defines which otherwise are available on
glibc system headers
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Upsteam-Status: Pending
---
src/util/util.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/util/util.h b/src/util/util.h
index 8a754dbfd..6e55b4bdc 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -76,6 +76,10 @@
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif
+#ifndef ALLPERMS
+# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)/* 07777 */
+#endif
+
#define SSSD_MAIN_OPTS SSSD_DEBUG_OPTS
#define SSSD_SERVER_OPTS(uid, gid) \
--
2.17.1