Obey opt_inet6.h in kernel build directory.
Reported by: Peter Losher <plosher-keyword-freebsd.a36e57__at__plosh.net> MFC after: 3 days
This commit is contained in:
parent
ba189db15d
commit
b365fc827b
@ -3,5 +3,13 @@
|
||||
.PATH: ${.CURDIR}/../../netinet
|
||||
KMOD= dummynet
|
||||
SRCS= ip_dummynet.c
|
||||
SRCS+= opt_inet6.h
|
||||
|
||||
.if !defined(KERNBUILDDIR)
|
||||
.if !defined(NO_INET6)
|
||||
opt_inet6.h:
|
||||
echo "#define INET6 1" > ${.TARGET}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -29,9 +29,7 @@
|
||||
|
||||
#define DUMMYNET_DEBUG
|
||||
|
||||
#if !defined(KLD_MODULE)
|
||||
#include "opt_inet6.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* This module implements IP dummynet, a bandwidth limiter/delay emulator
|
||||
|
Loading…
Reference in New Issue
Block a user