# 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 add: CPPFLAGS+=     -D_KMEMUSER
This commit is contained in:
dsl 2013-01-02 15:50:34 +00:00
parent 013f63afab
commit 29dbe6c092
2 changed files with 10 additions and 2 deletions

View File

@ -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 15:50:34 dsl Exp $
.include <bsd.own.mk>
.include "../Makefile.inc"
@ -10,6 +10,10 @@ MAN= ipresend.1
CPPFLAGS+= -I. -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
#.BEGIN:
# rm -f machine x86
# ln -s ${NETBSDSRCDIR}/sys/arch/${MACHINE}/include machine

View File

@ -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 15:50:34 dsl Exp $
.include <bsd.own.mk>
.include "../Makefile.inc"
@ -14,6 +14,10 @@ CPPFLAGS+= -I${UDIST}/ipsend
CPPFLAGS+= -I${UDIST}/iplang
CPPFLAGS+= -I${.CURDIR} -I.
# 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
CLEANFILES+= iplang_y.c iplang_y.h
DPSRCS+= iplang_y.h