summaryrefslogtreecommitdiff
path: root/pattest.c
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-05-12 02:26:49 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-05-12 02:26:49 +0000
commit49d601cbf2f50bfa21bc62f48ded01eb7f768d8a (patch)
tree2f55a5f8f93cf27b21e364eeb61be5a01d65eefc /pattest.c
parent5349adbff16691dbc4243738468d0105cea54c03 (diff)
fix some compilation issues (bug #4039)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/v1-0@643 5390a7c7-147a-4af0-8ec9-7488f05a26cb
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)