1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/sssd/0002-src.patch
Henrik Riomar 87d9f34c7c testing/sssd: upgrade to 1.16.5
Rebased patches and some sorting in APKBUILD
2020-10-31 17:17:59 +01:00

38 lines
876 B
Diff

diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h
index 0251ab606..e7808f878 100644
--- a/src/confdb/confdb.h
+++ b/src/confdb/confdb.h
@@ -22,6 +22,7 @@
#ifndef _CONF_DB_H
#define _CONF_DB_H
+#include <sys/types.h>
#include <stdbool.h>
#include <talloc.h>
#include <tevent.h>
diff --git a/src/util/util.h b/src/util/util.h
index 8a754dbfd..ac4bf62fc 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -31,6 +31,7 @@
#include <pcre.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/param.h>
#include <netinet/in.h>
#include <talloc.h>
@@ -46,6 +47,10 @@
#include "util/sss_format.h"
#include "util/debug.h"
+#ifndef ALLPERMS
+#define ALLPERMS (S_ISUID | S_ISGID | S_IRGRP | S_IRWXU | S_IRWXG | S_IRWXO)
+#endif
+
/* name of the monitor server instance */
#define SSSD_PIDFILE PID_PATH"/sssd.pid"
#define MAX_PID_LENGTH 10
--
2.27.0