summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_auth.c
diff options
context:
space:
mode:
authorguido <guido@FreeBSD.org>1999-12-06 20:36:50 +0000
committerguido <guido@FreeBSD.org>1999-12-06 20:36:50 +0000
commit4cc3cbace7029fcf5184e973f40780d4077c15ac (patch)
tree33dd399548d82fbb9af1b3698ff9499543b09e99 /sys/netinet/ip_auth.c
parente48db75116a9aa3857cc4a8d86b99573258e6ae0 (diff)
downloadFreeBSD-src-4cc3cbace7029fcf5184e973f40780d4077c15ac.zip
FreeBSD-src-4cc3cbace7029fcf5184e973f40780d4077c15ac.tar.gz
Revive mlfk_ipl here. This version is slightly changed from
the old one: an unnecessary define (KLD_MODULE) has been deleted and the initialisation of the module is done after domaininit was called to be sure inet is running. Some slight changed were made to ip_auth.c and ip_state.c in order to assure including of sys/systm.h in case we make a kld Make sure ip_fil does nmot include osreldate in kernel mode Remove mlfk_ipl.c from here: no sources allowed in these directories!
Diffstat (limited to 'sys/netinet/ip_auth.c')
-rw-r--r--sys/netinet/ip_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_auth.c b/sys/netinet/ip_auth.c
index d8207a0..f0fd500 100644
--- a/sys/netinet/ip_auth.c
+++ b/sys/netinet/ip_auth.c
@@ -31,7 +31,7 @@ static const char rcsid[] = "@(#)$FreeBSD$";
# include <sys/protosw.h>
#endif
#include <sys/socket.h>
-#if defined(_KERNEL) && !defined(linux)
+#if (defined(_KERNEL) || defined(KERNEL)) && !defined(linux)
# include <sys/systm.h>
#endif
#if !defined(__SVR4) && !defined(__svr4__)
OpenPOWER on IntegriCloud