mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Correctly allow chan_dahdi to compile against older versions of Zaptel.
Don't always define HAVE_ZAPTEL_CHANALARMS (since we check if it's defined..) Minor cleanup to make things clear. (closes issue #13726) Reported by: tzafrir Patches: dahdi_def.diff uploaded by tzafrir (license 46) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@150557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -37,7 +37,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#include <unistd.h>
|
||||
#include <math.h>
|
||||
|
||||
#if defined(HAVE_ZAPTEL) || defined (HAVE_DAHDI)
|
||||
#if defined(HAVE_DAHDI)
|
||||
#include <sys/ioctl.h>
|
||||
#include "asterisk/dahdi_compat.h"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user