summaryrefslogtreecommitdiff
path: root/hdlcstress.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 /hdlcstress.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 'hdlcstress.c')
-rw-r--r--hdlcstress.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/hdlcstress.c b/hdlcstress.c
index d32dc90..9008b48 100644
--- a/hdlcstress.c
+++ b/hdlcstress.c
@@ -9,9 +9,12 @@
#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"
@@ -115,8 +118,8 @@ void send_packet(unsigned char *buf, int len)
int main(int argc, char *argv[])
{
int res, x;
- DAHDI_PARAMS tp;
- DAHDI_BUFFERINFO bi;
+ struct dahdi_params tp;
+ struct dahdi_bufferinfo bi;
int bs = BLOCK_SIZE;
unsigned char c=0;
unsigned char outbuf[BLOCK_SIZE];