Module Name: src
Committed By: dsl
Date: Wed Jan 2 18:41:50 UTC 2013
Modified Files:
src/external/bsd/ipf/bin/iptest: Makefile
Log Message:
There is some very dubious code to locate the values of
tcb.rcv_adv, tcb.snd_nxt and tcb.rcv_nxt for a socket.
so set CPPFLAGS+= -D_KMEMUSER
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ipf/bin/iptest/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/ipf/bin/iptest/Makefile
diff -u src/external/bsd/ipf/bin/iptest/Makefile:1.2 src/external/bsd/ipf/bin/iptest/Makefile:1.3
--- src/external/bsd/ipf/bin/iptest/Makefile:1.2 Sat Mar 24 02:08:34 2012
+++ src/external/bsd/ipf/bin/iptest/Makefile Wed Jan 2 18:41:49 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2012/03/24 02:08:34 christos Exp $
+# $NetBSD: Makefile,v 1.3 2013/01/02 18:41:49 dsl Exp $
.include <bsd.own.mk>
.include "../Makefile.inc"
@@ -10,4 +10,8 @@ MAN= iptest.1
CPPFLAGS+= -I${.CURDIR}/../ipsend -I${NETBSDSRCDIR}/sys
.PATH: ${UDIST}/ipsend
+# There is some very dubious code to locate the values of
+# tcb.rcv_adv, tcb.snd_nxt and tcb.rcv_nxt for a socket.
+CPPFLAGS+= -D_KMEMUSER
+
.include <bsd.prog.mk>