blob: 161bee384e03762c12c17b1b16217bcb697e1908 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
diff --git a/modules/ims_dialog/dlg_hash.c b/modules/ims_dialog/dlg_hash.c
index 26817ac..0f340b0 100644
--- a/modules/ims_dialog/dlg_hash.c
+++ b/modules/ims_dialog/dlg_hash.c
@@ -17,7 +17,8 @@
#include "dlg_profile.h"
#include "dlg_handlers.h"
#include "dlg_db_handler.h"
-#include <execinfo.h>
+
+// #include <execinfo.h>
#define MAX_LDG_LOCKS 2048
#define MIN_LDG_LOCKS 2
@@ -70,6 +71,7 @@ static int dlg_hash_size_out = 4096;
}\
}while(0)
+#ifdef ALPINE_SUPPORTS_BACKTRACE
inline static int backtrace2str(char* buf, int size)
{
void* bt[32];
@@ -87,6 +89,7 @@ inline static int backtrace2str(char* buf, int size)
}
return 0;
}
+#endif
/*!
* \brief Initialize the global dialog table
|