aboutsummaryrefslogblamecommitdiffstats
path: root/testing/sssd/0002-src.patch
blob: 2e51b94c3b76afb4fa153b3ceb71439868979afa (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                      
                                 

                         







                       
                                              
                                 

                     







                        
                  

                             
 


                                                                             
 

                                          
                          


      
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