Apply a proper solution to resolve AST_MAX_ACCOUNT_CODE
authorJeremy McNamara <jj@nufone.net>
Wed, 1 Jun 2005 16:00:13 +0000 (16:00 +0000)
committerJeremy McNamara <jj@nufone.net>
Wed, 1 Jun 2005 16:00:13 +0000 (16:00 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5805 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/h323/ast_h323.cpp
channels/h323/chan_h323.h

index 3715117..74c3481 100755 (executable)
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 /*
  * ast_h323.cpp
  *
 /*
  * ast_h323.cpp
  *
@@ -39,8 +40,9 @@
 
 #ifdef __cplusplus
 extern "C" {
 
 #ifdef __cplusplus
 extern "C" {
-#endif   
+#endif
 #include "asterisk/logger.h"
 #include "asterisk/logger.h"
+#include "asterisk/channel.h"
 #ifdef __cplusplus
 }
 #endif
 #ifdef __cplusplus
 }
 #endif
index 963cbd6..1ca681c 100755 (executable)
@@ -26,8 +26,6 @@
  * Version Info: $Id$
  */
 
  * Version Info: $Id$
  */
 
-#define AST_MAX_ACCOUNTCODE 20
-
 #include <arpa/inet.h>
 
 /** call_option struct holds various bits
 #include <arpa/inet.h>
 
 /** call_option struct holds various bits