diff options
Diffstat (limited to 'include/asterisk/tonezone_compat.h')
-rw-r--r-- | include/asterisk/tonezone_compat.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/include/asterisk/tonezone_compat.h b/include/asterisk/tonezone_compat.h new file mode 100644 index 000000000..40b35605c --- /dev/null +++ b/include/asterisk/tonezone_compat.h @@ -0,0 +1,35 @@ +/* + * Asterisk -- An open source telephony toolkit. + * + * Copyright (C) 2008, Digium, Inc. + * + * See http://www.asterisk.org for more information about + * the Asterisk project. Please do not directly contact + * any of the maintainers of this project for assistance; + * the project provides a web site, mailing lists and IRC + * channels for your use. + * + * This program is free software, distributed under the terms of + * the GNU General Public License Version 2. See the LICENSE file + * at the top of the source tree. + */ + +/*! + * \file + * \brief Find tonezone header in the right place (DAHDI or Zaptel) + */ + +#ifndef TONEZONE_COMPAT_H +#define TONEZONE_COMPAT_H + +#if defined(HAVE_ZAPTEL) + +#include <zaptel/tonezone.h> + +#elif defined(HAVE_DAHDI) + +#include <dahdi/tonezone.h> + +#endif + +#endif /* TONEZONE_COMPAT_H */ |