summaryrefslogtreecommitdiff
path: root/patgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'patgen.c')
-rwxr-xr-xpatgen.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/patgen.c b/patgen.c
index 6ee48f5..a137a2a 100755
--- a/patgen.c
+++ b/patgen.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 2048 */
#define BLOCK_SIZE 2041