From 04128951db339ddfd7905adf92990f00a3a01447 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Fri, 23 May 2008 15:16:24 +0000 Subject: yay, all the tools compile now git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4339 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- dahdi_diag.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'dahdi_diag.c') diff --git a/dahdi_diag.c b/dahdi_diag.c index 50900a8..1b5b105 100644 --- a/dahdi_diag.c +++ b/dahdi_diag.c @@ -4,11 +4,7 @@ #include #include -#ifdef STANDALONE_ZAPATA -#include "kernel/zaptel.h" -#else -#include -#endif +#include int main(int argc, char *argv[]) { @@ -23,8 +19,8 @@ int main(int argc, char *argv[]) perror("open(/dev/zap/ctl"); exit(1); } - if (ioctl(fd, ZT_CHANDIAG, &chan)) { - perror("ioctl(ZT_CHANDIAG)"); + if (ioctl(fd, DAHDI_CHANDIAG, &chan)) { + perror("ioctl(DAHDI_CHANDIAG)"); exit(1); } exit(0); -- cgit v1.2.3