change the required dependency for codec_dahdi to only be satisfied by DAHDI and...
[asterisk-bristuff.git] / include / asterisk / tonezone_compat.h
blob40b35605cd34f5a6707250ee76bc647eadd33f49
1 /*
2 * Asterisk -- An open source telephony toolkit.
4 * Copyright (C) 2008, Digium, Inc.
6 * See http://www.asterisk.org for more information about
7 * the Asterisk project. Please do not directly contact
8 * any of the maintainers of this project for assistance;
9 * the project provides a web site, mailing lists and IRC
10 * channels for your use.
12 * This program is free software, distributed under the terms of
13 * the GNU General Public License Version 2. See the LICENSE file
14 * at the top of the source tree.
17 /*!
18 * \file
19 * \brief Find tonezone header in the right place (DAHDI or Zaptel)
22 #ifndef TONEZONE_COMPAT_H
23 #define TONEZONE_COMPAT_H
25 #if defined(HAVE_ZAPTEL)
27 #include <zaptel/tonezone.h>
29 #elif defined(HAVE_DAHDI)
31 #include <dahdi/tonezone.h>
33 #endif
35 #endif /* TONEZONE_COMPAT_H */