summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2004-03-31 20:58:39 +0000
committerbms <bms@FreeBSD.org>2004-03-31 20:58:39 +0000
commitec79f6e2f06427778bc8e6e17228adda2ae7ea3f (patch)
treeb42e725033ad9153aa88362187bf25bd04caf581 /usr.sbin
parent86d52db7bc2c03ac25c2253320d6727db236fc1a (diff)
downloadFreeBSD-src-ec79f6e2f06427778bc8e6e17228adda2ae7ea3f.zip
FreeBSD-src-ec79f6e2f06427778bc8e6e17228adda2ae7ea3f.tar.gz
Unbreak the build by dealing with an unexpected dependency on tcpdump source
present in ndp(8). The vendor branch import uses a _U_ macro to apply the GCC 'unused' attribute to the rcs ids embedded in each source file. Teach ndp about this.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ndp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ndp/Makefile b/usr.sbin/ndp/Makefile
index 2af816b..c35dfc7 100644
--- a/usr.sbin/ndp/Makefile
+++ b/usr.sbin/ndp/Makefile
@@ -21,5 +21,6 @@ SRCS= ndp.c gmt2local.c
CFLAGS+= -DINET6
CFLAGS+= -I. -I${.CURDIR} -I${.CURDIR}/../../contrib/tcpdump
+CFLAGS+= -D_U_=""
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud