Make H.323 compile with FDLEAK detection code enabled
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 29 Apr 2009 23:06:56 +0000 (23:06 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 29 Apr 2009 23:06:56 +0000 (23:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@191219 65c4cc65-6c06-0410-ace0-fbb531ad65f3

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

index 616b8f6..21ea139 100644 (file)
@@ -90,6 +90,8 @@ extern "C" {
 }
 #endif
 
+#undef open
+#undef close
 #include "h323/chan_h323.h"
 
 receive_digit_cb on_receive_digit;
index 4cd5657..aeecfda 100644 (file)
@@ -29,7 +29,6 @@
  * Version Info: $Id$
  */
 
-#include "asterisk.h"
 #define VERSION(a,b,c) ((a)*10000+(b)*100+(c))
 
 #include <arpa/inet.h>
@@ -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"