summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sethdlc-new.c1
-rw-r--r--sethdlc.c1
-rw-r--r--tonezone.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/sethdlc-new.c b/sethdlc-new.c
index 376a3f4..09f8348 100644
--- a/sethdlc-new.c
+++ b/sethdlc-new.c
@@ -22,6 +22,7 @@
#include <sys/socket.h>
#include <linux/if.h>
#include <linux/sockios.h>
+#include "kernel/zaptel.h"
#if GENERIC_HDLC_VERSION != 4
#error Generic HDLC layer version mismatch, please get correct sethdlc.c
diff --git a/sethdlc.c b/sethdlc.c
index bf1238d..b0cdfc3 100644
--- a/sethdlc.c
+++ b/sethdlc.c
@@ -10,6 +10,7 @@
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <linux/if.h>
+#include "kernel/zaptel.h"
struct ifreq req; /* for ioctl */
diff --git a/tonezone.c b/tonezone.c
index e2792f1..053cba4 100644
--- a/tonezone.c
+++ b/tonezone.c
@@ -30,6 +30,7 @@
#include <unistd.h>
#include <errno.h>
+#include "kernel/zaptel.h"
#include "tonezone.h"
#define DEFAULT_ZT_DEV "/dev/zap/ctl"