summaryrefslogtreecommitdiffstats
path: root/sys/netatalk
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netatalk')
-rw-r--r--sys/netatalk/aarp.c3
-rw-r--r--sys/netatalk/ddp_input.c3
-rw-r--r--sys/netatalk/ddp_output.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/netatalk/aarp.c b/sys/netatalk/aarp.c
index d835d66..ebadbce 100644
--- a/sys/netatalk/aarp.c
+++ b/sys/netatalk/aarp.c
@@ -56,7 +56,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/mac.h>
#include <sys/mbuf.h>
#include <sys/kernel.h>
#include <sys/socket.h>
@@ -75,6 +74,8 @@
#include <netatalk/phase2.h>
#include <netatalk/at_extern.h>
+#include <security/mac/mac_framework.h>
+
static void aarptfree(struct aarptab *aat);
static void at_aarpinput(struct ifnet *ifp, struct mbuf *m);
diff --git a/sys/netatalk/ddp_input.c b/sys/netatalk/ddp_input.c
index 9ffa10f..5353682 100644
--- a/sys/netatalk/ddp_input.c
+++ b/sys/netatalk/ddp_input.c
@@ -55,7 +55,6 @@
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/lock.h>
-#include <sys/mac.h>
#include <sys/mbuf.h>
#include <sys/signalvar.h>
#include <sys/socket.h>
@@ -72,6 +71,8 @@
#include <netatalk/ddp_pcb.h>
#include <netatalk/at_extern.h>
+#include <security/mac/mac_framework.h>
+
static volatile int ddp_forward = 1;
static volatile int ddp_firewall = 0;
static struct ddpstat ddpstat;
diff --git a/sys/netatalk/ddp_output.c b/sys/netatalk/ddp_output.c
index 357d707..c48f043 100644
--- a/sys/netatalk/ddp_output.c
+++ b/sys/netatalk/ddp_output.c
@@ -27,7 +27,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/mac.h>
#include <sys/mbuf.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
@@ -43,6 +42,8 @@
#include <netatalk/ddp_var.h>
#include <netatalk/at_extern.h>
+#include <security/mac/mac_framework.h>
+
int ddp_cksum = 1;
int
OpenPOWER on IntegriCloud