From 88eae5d322e793c729a24e5668c63d6092617d72 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 29 Apr 2009 23:14:58 +0000 Subject: [PATCH] Merged revisions 191219 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r191219 | tilghman | 2009-04-29 18:06:56 -0500 (Wed, 29 Apr 2009) | 2 lines Make H.323 compile with FDLEAK detection code enabled ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@191223 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_h323.c | 2 ++ channels/h323/ast_h323.cxx | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/channels/chan_h323.c b/channels/chan_h323.c index d43cca9791..b574421841 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 9e9480fa4b..cad4c2cfce 100644 --- a/channels/h323/ast_h323.cxx +++ b/channels/h323/ast_h323.cxx @@ -28,7 +28,6 @@ * * Version Info: $Id$ */ -#include "asterisk.h" #define VERSION(a,b,c) ((a)*10000+(b)*100+(c)) #include @@ -71,6 +70,8 @@ #include "compat_h323.h" +#include "asterisk.h" + #ifdef __cplusplus extern "C" { #endif @@ -82,6 +83,9 @@ extern "C" { } #endif +#undef open +#undef close + #include "chan_h323.h" #include "ast_h323.h" #include "cisco-h225.h"