diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-04-24 17:11:45 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-04-24 17:11:45 +0000 |
commit | 574e14cbea69b596a9a540b6401f2a087ec1e9ac (patch) | |
tree | 170532911902642fdae405ec644509398b0b6ee5 /channels/chan_iax2.c | |
parent | 746c984500cc209a5140c89eb98ec6aabb2fcd2a (diff) |
Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_iax2.c')
-rw-r--r-- | channels/chan_iax2.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index c3a6bb156..a3977a3b4 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -49,7 +49,10 @@ #include <fcntl.h> #include <sys/stat.h> #include <regex.h> -#ifdef IAX_TRUNKING + +#include "asterisk.h" + +#ifdef HAVE_ZAPTEL #include <sys/ioctl.h> #ifdef __linux__ #include <linux/zaptel.h> @@ -58,8 +61,6 @@ #endif /* __linux__ */ #endif -#include "asterisk.h" - ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/lock.h" @@ -9006,7 +9007,7 @@ static void prune_peers(void){ static void set_timing(void) { -#ifdef IAX_TRUNKING +#ifdef HAVE_ZAPTEL int bs = trunkfreq * 8; if (timingfd > -1) { if ( @@ -10059,7 +10060,7 @@ static int load_module(void *mod) jb_setoutput(jb_error_output, jb_warning_output, NULL); #endif -#ifdef IAX_TRUNKING +#ifdef HAVE_ZAPTEL #ifdef ZT_TIMERACK timingfd = open("/dev/zap/timer", O_RDWR); if (timingfd < 0) |