mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-15 06:18:38 +00:00
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
This commit is contained in:
@@ -22,14 +22,14 @@
|
|||||||
#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>
|
|
||||||
|
|
||||||
#elif defined(HAVE_ZAPTEL)
|
|
||||||
|
|
||||||
#include <zaptel/tonezone.h>
|
#include <zaptel/tonezone.h>
|
||||||
|
|
||||||
|
#elif defined(HAVE_DAHDI)
|
||||||
|
|
||||||
|
#include <dahdi/tonezone.h>
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* TONEZONE_COMPAT_H */
|
#endif /* TONEZONE_COMPAT_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user