--- include/asterisk.h 2023-01-12 12:46:01.000000000 +0000 +++ include/asterisk.h.new 2023-01-15 17:08:57.839605511 +0000 @@ -40,6 +40,17 @@ #define PATH_MAX 4096 #endif +/* Not defined in Solaris and derivatives +*/ +#ifndef ACCESSPERMS +#define ACCESSPERMS (S_IRWXU | S_IRWXG | S_IRWXO) +#endif + +/* Not defined in Solaris and derivatives +*/ +#ifndef ALLPERMS +#define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) +#endif #define AST_CURL_USER_AGENT "asterisk-libcurl-agent/1.0"