summaryrefslogtreecommitdiff
path: root/hdlcstress.c
diff options
context:
space:
mode:
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];