summaryrefslogtreecommitdiff
path: root/timertest.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-05-23 15:16:24 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-05-23 15:16:24 +0000
commit04128951db339ddfd7905adf92990f00a3a01447 (patch)
treefed6cec907ec871794693772483db9bd04e0422d /timertest.c
parente027cd533ab52f09186f1bd4cd33e0f3aac0363c (diff)
yay, all the tools compile now
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4339 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'timertest.c')
-rw-r--r--timertest.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/timertest.c b/timertest.c
index 3a0c2e4..28e76ed 100644
--- a/timertest.c
+++ b/timertest.c
@@ -8,11 +8,7 @@
#include <sys/time.h>
#include <errno.h>
-#ifdef STANDALONE_ZAPATA
-#include "kernel/zaptel.h"
-#else
-#include <zaptel/zaptel.h>
-#endif
+#include <dahdi/user.h>
int main(int argc, char *argv[])
{
@@ -27,7 +23,7 @@ int main(int argc, char *argv[])
exit(1);
}
printf("Opened timer...\n");
- if (ioctl(fd, ZT_TIMERCONFIG, &x)) {
+ if (ioctl(fd, DAHDI_TIMERCONFIG, &x)) {
fprintf(stderr, "Unable to set timer: %s\n", strerror(errno));
exit(1);
}
@@ -43,7 +39,7 @@ int main(int argc, char *argv[])
exit(1);
}
x = -1;
- if (ioctl(fd, ZT_TIMERACK, &x)) {
+ if (ioctl(fd, DAHDI_TIMERACK, &x)) {
fprintf(stderr, "Unable to ack timer: %s\n", strerror(errno));
exit(1);
}