summaryrefslogtreecommitdiff
path: root/pattest.c
diff options
context:
space:
mode:
Diffstat (limited to 'pattest.c')
-rwxr-xr-xpattest.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/pattest.c b/pattest.c
index e694619..e95cc48 100755
--- a/pattest.c
+++ b/pattest.c
@@ -2,7 +2,6 @@
#include <fcntl.h>
#include <string.h>
#include <errno.h>
-#include <linux/zaptel.h>
#include <stdio.h>
#include <linux/types.h>
#include <linux/ppp_defs.h>
@@ -11,6 +10,12 @@
#include <stdlib.h>
#include "bittest.h"
+#ifdef STANDALONE_ZAPATA
+#include "zaptel.h"
+#else
+#include <linux/zaptel.h>
+#endif
+
#define BLOCK_SIZE 2039
void print_packet(unsigned char *buf, int len)