diff --git a/utils/ael_main.c b/utils/ael_main.c
index fff28b738de08629658fcda7d5eb37d0095f869e..a849e1fdc53268d74a326fe89111288c4f9755b7 100644
--- a/utils/ael_main.c
+++ b/utils/ael_main.c
@@ -20,6 +20,7 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
+#include "asterisk/backtrace.h"
 #include "asterisk/channel.h"
 #include "asterisk/ast_expr.h"
 #include "asterisk/module.h"
@@ -621,12 +622,12 @@ void ast_store_lock_info(enum ast_lock_type type, const char *filename,
 {
 }
 
-int ast_bt_get_addresses(struct ast_bt *bt)
+int __ast_bt_get_addresses(struct ast_bt *bt)
 {
 	return 0;
 }
 
-char **ast_bt_get_symbols(void **addresses, size_t num_frames)
+char **__ast_bt_get_symbols(void **addresses, size_t num_frames)
 {
 	char **foo = calloc(num_frames, sizeof(char *) + 1);
 	if (foo) {
diff --git a/utils/check_expr.c b/utils/check_expr.c
index 556b0f9f8e5373ab73ab9fd2525a5ce44de7933d..3ee061d85f7f04d43ab83a2cb3c0800afc8ae12c 100644
--- a/utils/check_expr.c
+++ b/utils/check_expr.c
@@ -71,14 +71,14 @@ void ast_remove_lock_info(void *lock_addr, struct ast_bt *bt)
     /* not a lot to do in a standalone w/o threading! */
 }
 
-int ast_bt_get_addresses(struct ast_bt *bt);
-int ast_bt_get_addresses(struct ast_bt *bt)
+int __ast_bt_get_addresses(struct ast_bt *bt);
+int __ast_bt_get_addresses(struct ast_bt *bt)
 {
 	/* Suck it, you stupid utils directory! */
 	return 0;
 }
-char **ast_bt_get_symbols(void **addresses, size_t num_frames);
-char **ast_bt_get_symbols(void **addresses, size_t num_frames)
+char **__ast_bt_get_symbols(void **addresses, size_t num_frames);
+char **__ast_bt_get_symbols(void **addresses, size_t num_frames)
 {
 	char **foo = calloc(num_frames, sizeof(char *) + 1);
 	if (foo) {
diff --git a/utils/conf2ael.c b/utils/conf2ael.c
index f0ac38fad3d473be4705e071b15112d5625b013c..cec4e4d7f60224df32dceffc48eafcef52b41c4d 100644
--- a/utils/conf2ael.c
+++ b/utils/conf2ael.c
@@ -750,12 +750,12 @@ void ast_store_lock_info(enum ast_lock_type type, const char *filename,
 {
 }
 
-int ast_bt_get_addresses(struct ast_bt *bt)
+int __ast_bt_get_addresses(struct ast_bt *bt)
 {
 	return 0;
 }
 
-char **ast_bt_get_symbols(void **addresses, size_t num_frames)
+char **__ast_bt_get_symbols(void **addresses, size_t num_frames)
 {
 	char **foo = calloc(num_frames, sizeof(char *) + 1);
 	if (foo) {
diff --git a/utils/refcounter.c b/utils/refcounter.c
index b2ad5b0a647628583372f5a514652c47e65b65d9..fab906c5077cb920b69a95125e8377874f7a19f5 100644
--- a/utils/refcounter.c
+++ b/utils/refcounter.c
@@ -280,20 +280,20 @@ void ast_unregister_thread(void *id)
 {
 }
 #ifdef HAVE_BKTR
-struct ast_bt *ast_bt_create(void);
-struct ast_bt *ast_bt_create(void) 
+struct ast_bt *__ast_bt_create(void);
+struct ast_bt *__ast_bt_create(void)
 {
 	return NULL;
 }
 
-int ast_bt_get_addresses(struct ast_bt *bt);
-int ast_bt_get_addresses(struct ast_bt *bt)
+int __ast_bt_get_addresses(struct ast_bt *bt);
+int __ast_bt_get_addresses(struct ast_bt *bt)
 {
 	return 0;
 }
 
-char **ast_bt_get_symbols(void **addresses, size_t num_frames);
-char **ast_bt_get_symbols(void **addresses, size_t num_frames)
+char **__ast_bt_get_symbols(void **addresses, size_t num_frames);
+char **__ast_bt_get_symbols(void **addresses, size_t num_frames)
 {
 	char **foo = calloc(num_frames, sizeof(char *) + 1);
 	if (foo) {
@@ -305,8 +305,8 @@ char **ast_bt_get_symbols(void **addresses, size_t num_frames)
 	return foo;
 }
 
-void *ast_bt_destroy(struct ast_bt *bt);
-void *ast_bt_destroy(struct ast_bt *bt)
+void *__ast_bt_destroy(struct ast_bt *bt);
+void *__ast_bt_destroy(struct ast_bt *bt)
 {
 	return NULL;
 }