diff options
author | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-04-20 16:17:17 +0000 |
---|---|---|
committer | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-04-20 16:17:17 +0000 |
commit | 334673e99af03698b6aa4771749dd4cde5cfe973 (patch) | |
tree | 095bb0857d820953219ede42fda7bc07c5c1a5c0 /pattest.c | |
parent | d40e0a8c92e192704bfec1ba7b3abad0f27f2151 (diff) |
build fixes for minor zaptel tools (bug #4039)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@630 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'pattest.c')
-rwxr-xr-x | pattest.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) |