]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Allow H.323 to compile with FDLEAK checking enabled.
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 29 Apr 2009 23:10:54 +0000 (23:10 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 29 Apr 2009 23:10:54 +0000 (23:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@191220 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_h323.c
channels/h323/ast_h323.cxx

index 6125822dcb9349596061b9919636ba133c72ee5c..40935acbc602298f6a31416df3cd1a4a87acee42 100644 (file)
@@ -102,6 +102,8 @@ extern "C" {
 }
 #endif
 
+#undef open
+#undef close
 #include "h323/chan_h323.h"
 
 receive_digit_cb on_receive_digit;
index 6c8b39d55f0e63de6b38c0536036c30e1f9b1daf..bec0c4ab84124fdc088bc87eeed55a009208022d 100644 (file)
@@ -25,7 +25,6 @@
  *
  * Version Info: $Id$
  */
-#include "asterisk.h"
 #define VERSION(a,b,c) ((a)*10000+(b)*100+(c))
 
 
@@ -70,6 +69,8 @@
 
 #include "compat_h323.h"
 
+#include "asterisk.h"
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -80,6 +81,9 @@ extern "C" {
 }
 #endif
 
+#undef open
+#undef close
+
 #include "chan_h323.h"
 #include "ast_h323.h"
 #include "cisco-h225.h"