mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 19:14:34 +04:00
remove deprecated modules from 20-21 21-22 is mostly bugfixes See https://docs.asterisk.org/Asterisk_21_Documentation/Upgrading/ and https://docs.asterisk.org/Asterisk_22_Documentation/Upgrading/ and https://docs.asterisk.org/Development/Asterisk-Module-Deprecations/#removed-modules - remove deprecated users.conf (otherwise asterisk logs: WARNING[24699] pbx_config.c: users.conf is deprecated and will be removed in a future version of Asterisk ) - add cdr.conf (otherwise asterisk logs: ERROR[24658] config_options.c: Unable to load config file 'cdr.conf' ) - add missing res-websocket-client (necessary for app_stasis, res_ari) - app_macro -> app_stack refresh patches Signed-off-by: Paul Donald <newtwen+github@gmail.com>
12 lines
384 B
Diff
12 lines
384 B
Diff
--- a/include/asterisk/lock.h
|
|
+++ b/include/asterisk/lock.h
|
|
@@ -73,7 +73,7 @@ extern "C" {
|
|
#define AST_PTHREADT_NULL (pthread_t) -1
|
|
#define AST_PTHREADT_STOP (pthread_t) -2
|
|
|
|
-#if (defined(SOLARIS) || defined(BSD))
|
|
+#if (defined(SOLARIS) || defined(BSD) || !defined(HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP))
|
|
#define AST_MUTEX_INIT_W_CONSTRUCTORS
|
|
#endif /* SOLARIS || BSD */
|
|
|