mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 17:04:36 +04:00
remove deprecated modules from 22-23 See https://docs.asterisk.org/Asterisk_23_Documentation/Upgrading/ and https://docs.asterisk.org/Asterisk_23_Documentation/WhatsNew/ starting in v23, astdb2sqlite3 is removed. Users still running on v10 Berkley DB must have upgraded DB prior to v23. Similarly, all Berkley DB functionality is removed. patch 150 refreshed to remove Berkley DB stuff. other patches refreshed. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
21 lines
366 B
Diff
21 lines
366 B
Diff
--- a/include/asterisk/compat.h
|
|
+++ b/include/asterisk/compat.h
|
|
@@ -130,14 +130,16 @@ void timersub(struct timeval *tvend, str
|
|
|
|
#include <errno.h>
|
|
|
|
-#ifdef SOLARIS
|
|
+#ifndef __BEGIN_DECLS
|
|
#define __BEGIN_DECLS
|
|
#define __END_DECLS
|
|
+#endif
|
|
|
|
#ifndef __P
|
|
#define __P(p) p
|
|
#endif
|
|
|
|
+#ifdef SOLARIS
|
|
#include <alloca.h>
|
|
#include <strings.h>
|
|
#include <pthread.h>
|