[asterisk-commits] tilghman: trunk r191219 - in /trunk/channels: chan_h323.c h323/ast_h323.cxx

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 29 18:06:59 CDT 2009


Author: tilghman
Date: Wed Apr 29 18:06:56 2009
New Revision: 191219

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=191219
Log:
Make H.323 compile with FDLEAK detection code enabled

Modified:
    trunk/channels/chan_h323.c
    trunk/channels/h323/ast_h323.cxx

Modified: trunk/channels/chan_h323.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/channels/chan_h323.c?view=diff&rev=191219&r1=191218&r2=191219
==============================================================================
--- trunk/channels/chan_h323.c (original)
+++ trunk/channels/chan_h323.c Wed Apr 29 18:06:56 2009
@@ -90,6 +90,8 @@
 }
 #endif
 
+#undef open
+#undef close
 #include "h323/chan_h323.h"
 
 receive_digit_cb on_receive_digit;

Modified: trunk/channels/h323/ast_h323.cxx
URL: http://svn.digium.com/svn-view/asterisk/trunk/channels/h323/ast_h323.cxx?view=diff&rev=191219&r1=191218&r2=191219
==============================================================================
--- trunk/channels/h323/ast_h323.cxx (original)
+++ trunk/channels/h323/ast_h323.cxx Wed Apr 29 18:06:56 2009
@@ -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
@@ -82,6 +83,9 @@
 #ifdef __cplusplus
 }
 #endif
+
+#undef open
+#undef close
 
 #include "chan_h323.h"
 #include "ast_h323.h"




More information about the asterisk-commits mailing list