diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp index 371511751cf32b0bca8e88f740ce6bc51b5c89c5..74c348190a191001f37d6dca42f3f6eafa990c4f 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 963cbd6de00a996e456b7a8b3795787ba9a33509..1ca681c77df3c89b4b299154057ebf021485a130 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