summaryrefslogtreecommitdiff
path: root/hdlctest.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-07-29 22:05:03 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-07-29 22:05:03 +0000
commiteaf2adbe3147264be464b844996e98a370db48e6 (patch)
treeaef8e155a87bc4dc00a9c724f1f158038e484f7f /hdlctest.c
parented5de40105bc87f5efe7c9c83db10c9f265e7acd (diff)
build against the new dahdi/user.h (which is now typedef-free!)
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4629 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'hdlctest.c')
-rw-r--r--hdlctest.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/hdlctest.c b/hdlctest.c
index ec155a5..152909f 100644
--- a/hdlctest.c
+++ b/hdlctest.c
@@ -9,9 +9,11 @@
#include <unistd.h>
#include <stdlib.h>
#include <dahdi/user.h>
-#include "bittest.h"
+
#define FAST_HDLC_NEED_TABLES
-#include "kernel/fasthdlc.h"
+#include <dahdi/fasthdlc.h>
+
+#include "bittest.h"
#include "version.h"
@@ -133,8 +135,8 @@ int main(int argc, char *argv[])
{
int fd;
int res, x;
- DAHDI_PARAMS tp;
- DAHDI_BUFFERINFO bi;
+ struct dahdi_params tp;
+ struct dahdi_bufferinfo bi;
int bs = BLOCK_SIZE;
int pos = 0;
unsigned char inbuf[BLOCK_SIZE];