From c20daa7d8c5e3dbb04c5863eec689c941781bb89 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Fri, 27 Jun 2008 16:46:05 +0000 Subject: [PATCH] Since HAVE_DAHDI is defined to HAVE_ZAPTEL in dahdi_compat.h, we must first check for HAVE_ZAPTEL. (closes issue #12938) Reported by: opticron Patches: tonezone_compat.diff uploaded by opticron (license 267) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@125893 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/tonezone_compat.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/asterisk/tonezone_compat.h b/include/asterisk/tonezone_compat.h index 6be160cfb1..40b35605cd 100644 --- a/include/asterisk/tonezone_compat.h +++ b/include/asterisk/tonezone_compat.h @@ -22,13 +22,13 @@ #ifndef TONEZONE_COMPAT_H #define TONEZONE_COMPAT_H -#if defined(HAVE_DAHDI) +#if defined(HAVE_ZAPTEL) -#include +#include -#elif defined(HAVE_ZAPTEL) +#elif defined(HAVE_DAHDI) -#include +#include #endif -- 2.47.3