]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Since HAVE_DAHDI is defined to HAVE_ZAPTEL in dahdi_compat.h, we must first
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 27 Jun 2008 16:46:05 +0000 (16:46 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 27 Jun 2008 16:46:05 +0000 (16:46 +0000)
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

index 6be160cfb1e99e8db5f29367a560d905b3d1140b..40b35605cd34f5a6707250ee76bc647eadd33f49 100644 (file)
 #ifndef TONEZONE_COMPAT_H
 #define TONEZONE_COMPAT_H
 
-#if defined(HAVE_DAHDI)
+#if defined(HAVE_ZAPTEL)
 
-#include <dahdi/tonezone.h>
+#include <zaptel/tonezone.h>
 
-#elif defined(HAVE_ZAPTEL)
+#elif defined(HAVE_DAHDI)
 
-#include <zaptel/tonezone.h>
+#include <dahdi/tonezone.h>
 
 #endif