aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-27 16:46:05 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-27 16:46:05 +0000
commit79e81b6c06d511ba5fb2f7dde22c536e79bcb63a (patch)
tree2ea5173903b755aa7053e4477bc425cd9bf771bd /include
parent3c76d5d2f641422262538f20e956d2f9e21c3139 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@125893 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/tonezone_compat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asterisk/tonezone_compat.h b/include/asterisk/tonezone_compat.h
index 6be160cfb..40b35605c 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 <dahdi/tonezone.h>
+#include <zaptel/tonezone.h>
-#elif defined(HAVE_ZAPTEL)
+#elif defined(HAVE_DAHDI)
-#include <zaptel/tonezone.h>
+#include <dahdi/tonezone.h>
#endif