summaryrefslogtreecommitdiff
path: root/pbx/pbx_gtkconsole.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-08-08 17:15:02 +0000
committerMark Spencer <markster@digium.com>2004-08-08 17:15:02 +0000
commit7acee329e1e2f75c286d5f5140d2d05f1dbf4bd5 (patch)
treee2443cc3c4c3b09b706e611a61f475c509778c57 /pbx/pbx_gtkconsole.c
parent916566ac11f619843d36f76e386f74779e9e755d (diff)
Merge BSD stack size work (bug #2067)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_gtkconsole.c')
-rwxr-xr-xpbx/pbx_gtkconsole.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbx/pbx_gtkconsole.c b/pbx/pbx_gtkconsole.c
index 852daf9a1..ce8189a6a 100755
--- a/pbx/pbx_gtkconsole.c
+++ b/pbx/pbx_gtkconsole.c
@@ -26,6 +26,7 @@
#include <asterisk/logger.h>
#include <asterisk/options.h>
#include <asterisk/cli.h>
+#include <asterisk/utils.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
@@ -450,7 +451,7 @@ static int show_console(void)
gtk_container_add(GTK_CONTAINER(window), hbox);
gtk_window_set_title(GTK_WINDOW(window), "Asterisk Console");
gtk_widget_grab_focus(cli);
- pthread_create(&console_thread, NULL, consolethread, NULL);
+ ast_pthread_create(&console_thread, NULL, consolethread, NULL);
/* XXX Okay, seriously fix me! XXX */
usleep(100000);
ast_register_verbose(verboser);