From: Jeremy McNamara Date: Wed, 1 Jun 2005 16:00:13 +0000 (+0000) Subject: Apply a proper solution to resolve AST_MAX_ACCOUNT_CODE X-Git-Tag: 1.2.0-beta1~558 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc0f505c5f3bb0fc07d7b513ffa77e60ea5ccd2f;p=thirdparty%2Fasterisk.git Apply a proper solution to resolve AST_MAX_ACCOUNT_CODE git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5805 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp index 371511751c..74c348190a 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 963cbd6de0..1ca681c77d 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 /** call_option struct holds various bits