diff --git a/usr.sbin/traceroute/Makefile b/usr.sbin/traceroute/Makefile index 2342c5b243dd..953c5d471149 100644 --- a/usr.sbin/traceroute/Makefile +++ b/usr.sbin/traceroute/Makefile @@ -5,14 +5,17 @@ TRACEROUTE_DISTDIR?= ${.CURDIR}/../../contrib/traceroute PROG= traceroute MAN= traceroute.8 -SRCS= version.c traceroute.c +SRCS= version.c traceroute.c ifaddrlist.c findsaddr-socket.c BINOWN= root BINMODE=4555 CLEANFILES= version.c -CFLAGS+= -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SYSCTL_H=1 \ +CFLAGS+= -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKIO_H=1 \ + -DHAVE_NET_ROUTE_H=1 -DHAVE_NET_IF_DL_H=1 \ + -DHAVE_STRERROR=1 -DHAVE_USLEEP=1 \ + -DHAVE_SYS_SYSCTL_H=1 \ -DHAVE_SETLINEBUF=1 -DHAVE_RAW_OPTIONS=1 \ - -DSTDC_HEADERS=1 + -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_ICMP_NEXTMTU=1 .ifndef (NOIPSEC) CFLAGS+= -DIPSEC .endif