From 93a73ba6a7067f823c413e576b924ce213603925 Mon Sep 17 00:00:00 2001 From: Jeff Peeler Date: Thu, 13 May 2010 23:08:13 +0000 Subject: [PATCH] Fix internal timing not working with Zaptel dahdi_compat.h was not being included in channel.c when used with Zaptel and wasn't in file.c at all. (closes issue #15250) Reported by: mneuhauser Patches: dahdi_compat.patch uploaded by mneuhauser (license 425) Tested by: IgorG git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@263112 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/channel.c | 2 +- main/file.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main/channel.c b/main/channel.c index eb8906386c..65c4284944 100644 --- a/main/channel.c +++ b/main/channel.c @@ -37,7 +37,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include #include -#if defined(HAVE_DAHDI) +#if defined(HAVE_DAHDI) || defined(HAVE_ZAPTEL) #include #include "asterisk/dahdi_compat.h" #endif diff --git a/main/file.c b/main/file.c index 533c03a347..f576c853bd 100644 --- a/main/file.c +++ b/main/file.c @@ -53,6 +53,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/linkedlists.h" #include "asterisk/module.h" #include "asterisk/astobj2.h" +#include "asterisk/dahdi_compat.h" /* * The following variable controls the layout of localized sound files. -- 2.47.2