aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/manager.h')
-rwxr-xr-xinclude/asterisk/manager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asterisk/manager.h b/include/asterisk/manager.h
index d5171ecc2..66da69017 100755
--- a/include/asterisk/manager.h
+++ b/include/asterisk/manager.h
@@ -23,6 +23,8 @@
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <asterisk/lock.h>
+
/*
* Call management packages are text fields of the form a: b. There is
* always exactly one space after the colon.
@@ -53,7 +55,7 @@
struct mansession {
pthread_t t;
- pthread_mutex_t lock;
+ ast_mutex_t lock;
struct sockaddr_in sin;
int fd;
int blocking;