aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-13 18:57:24 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-13 18:57:24 +0000
commitf20599a410eed71d8f07ac89a13db13c4745aef2 (patch)
treec76a6150b0b50364f159fa95ff6e7927ecd632bb /include
parentafdaf1bfa0a4a6ee432dc190d501251bf5439d81 (diff)
fixed dahdi compatability header from assuming either dahdi or zaptel is installed (may not have either)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@122663 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/dahdi_compat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/dahdi_compat.h b/include/asterisk/dahdi_compat.h
index bf23f1054..69f2699cf 100644
--- a/include/asterisk/dahdi_compat.h
+++ b/include/asterisk/dahdi_compat.h
@@ -22,12 +22,12 @@
#ifndef DAHDI_COMPAT_H
#define DAHDI_COMPAT_H
-#ifndef HAVE_ZAPTEL
+#ifdef HAVE_DAHDI
#include <dahdi/user.h>
#include <dahdi/tonezone.h>
-#else
+#elif defined(HAVE_ZAPTEL)
#include <zaptel/zaptel.h>
#include <zaptel/tonezone.h>