aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2005-06-01 16:00:13 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2005-06-01 16:00:13 +0000
commitab9c17987f4d6557f22c61d7c3b2cd432ac447b9 (patch)
tree88c1f05b1a3eaf567ec03ac92786653f812bfa2c /channels/h323
parent9e7424a3484608509c2377c56ee4b044cf2c299f (diff)
Apply a proper solution to resolve AST_MAX_ACCOUNT_CODE
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5805 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323')
-rwxr-xr-xchannels/h323/ast_h323.cpp4
-rwxr-xr-xchannels/h323/chan_h323.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp
index 371511751..74c348190 100755
--- a/channels/h323/ast_h323.cpp
+++ b/channels/h323/ast_h323.cpp
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
/*
* ast_h323.cpp
*
@@ -39,8 +40,9 @@
#ifdef __cplusplus
extern "C" {
-#endif
+#endif
#include "asterisk/logger.h"
+#include "asterisk/channel.h"
#ifdef __cplusplus
}
#endif
diff --git a/channels/h323/chan_h323.h b/channels/h323/chan_h323.h
index 963cbd6de..1ca681c77 100755
--- a/channels/h323/chan_h323.h
+++ b/channels/h323/chan_h323.h
@@ -26,8 +26,6 @@
* Version Info: $Id$
*/
-#define AST_MAX_ACCOUNTCODE 20
-
#include <arpa/inet.h>
/** call_option struct holds various bits