From: Tilghman Lesher Date: Fri, 27 Jun 2008 16:46:05 +0000 (+0000) Subject: Since HAVE_DAHDI is defined to HAVE_ZAPTEL in dahdi_compat.h, we must first X-Git-Tag: 1.4.22-rc1~171 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c20daa7d8c5e3dbb04c5863eec689c941781bb89;p=thirdparty%2Fasterisk.git 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 --- 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