From: Tilghman Lesher Date: Wed, 29 Apr 2009 23:06:56 +0000 (+0000) Subject: Make H.323 compile with FDLEAK detection code enabled X-Git-Tag: 11.0.0-beta1~4970 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b6d2a4a7a843a5332fb2de731f67ffaaf8a6d5b7;p=thirdparty%2Fasterisk.git Make H.323 compile with FDLEAK detection code enabled git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@191219 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_h323.c b/channels/chan_h323.c index 616b8f6a96..21ea139342 100644 --- a/channels/chan_h323.c +++ b/channels/chan_h323.c @@ -90,6 +90,8 @@ extern "C" { } #endif +#undef open +#undef close #include "h323/chan_h323.h" receive_digit_cb on_receive_digit; diff --git a/channels/h323/ast_h323.cxx b/channels/h323/ast_h323.cxx index 4cd5657e97..aeecfdab5f 100644 --- a/channels/h323/ast_h323.cxx +++ b/channels/h323/ast_h323.cxx @@ -29,7 +29,6 @@ * Version Info: $Id$ */ -#include "asterisk.h" #define VERSION(a,b,c) ((a)*10000+(b)*100+(c)) #include @@ -72,6 +71,8 @@ #include "compat_h323.h" +#include "asterisk.h" + #ifdef __cplusplus extern "C" { #endif @@ -83,6 +84,9 @@ extern "C" { } #endif +#undef open +#undef close + #include "chan_h323.h" #include "ast_h323.h" #include "cisco-h225.h"