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
1.4
Tilghman Lesher 17 years ago
parent db4ae54745
commit c20daa7d8c

@ -22,13 +22,13 @@
#ifndef TONEZONE_COMPAT_H #ifndef TONEZONE_COMPAT_H
#define 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 #endif

Loading…
Cancel
Save