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
#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