rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / network / asterisk / patches / 03_ALLPERMS.patch
blobf51a472390cff3f0b236188562e77fa9e5db76c2
1 --- include/asterisk.h 2023-01-12 12:46:01.000000000 +0000
2 +++ include/asterisk.h.new 2023-01-15 17:08:57.839605511 +0000
3 @@ -40,6 +40,17 @@
4 #define PATH_MAX 4096
5 #endif
7 +/* Not defined in Solaris and derivatives
8 +*/
9 +#ifndef ACCESSPERMS
10 +#define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO)
11 +#endif
13 +/* Not defined in Solaris and derivatives
14 +*/
15 +#ifndef ALLPERMS
16 +#define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)
17 +#endif
19 #define AST_CURL_USER_AGENT "asterisk-libcurl-agent/1.0"