aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323/chan_h323.h
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-18 20:06:45 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-18 20:06:45 +0000
commitc79298cc220361483baf3b9fe4352841352a3e92 (patch)
tree2edff152eaf12056d48c9405c05c9f356d17d4c2 /channels/h323/chan_h323.h
parentd7ae50ecdb4d2ef5988fdca4d2f075b95d06d9ce (diff)
Modify h323 to build against PTLib as well as the older PWLib
Several changes in PTLib have occurred requiring build time detection. Changes accounted for include the library name change, config option change, install location change, and a boolean type change which is handled by ast_ptlib.h. Also, the sed check has been modified to properly work with autoconf >= 2.62. (closes issue #14224) Reported by: bergolth Patches: asterisk-autoconf-sed.patch uploaded by bergolth (license 661) asterisk-pwlib-v3.patch uploaded by bergolth (license 661) Tested by: jpeeler git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@177160 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323/chan_h323.h')
-rw-r--r--channels/h323/chan_h323.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/channels/h323/chan_h323.h b/channels/h323/chan_h323.h
index 0fd94561f..2dad33103 100644
--- a/channels/h323/chan_h323.h
+++ b/channels/h323/chan_h323.h
@@ -26,6 +26,9 @@
* Version Info: $Id$
*/
+#ifndef CHAN_H323_H
+#define CHAN_H323_H
+
#include <arpa/inet.h>
/*
@@ -194,10 +197,6 @@ extern int h323debug;
#define H323_DTMF_RFC2833 (1 << 0)
#define H323_DTMF_INBAND (1 << 1)
-#ifndef BOOL
-#define BOOL int
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -252,3 +251,5 @@ extern "C" {
#ifdef __cplusplus
}
#endif
+
+#endif