summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/netstat/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/netstat/Makefile b/usr.bin/netstat/Makefile
index 86a43d5..3411e13 100644
--- a/usr.bin/netstat/Makefile
+++ b/usr.bin/netstat/Makefile
@@ -5,7 +5,9 @@ PROG= netstat
SRCS= if.c inet.c inet6.c main.c mbuf.c mcast.c mroute.c ipx.c route.c \
unix.c atalk.c netgraph.c mroute6.c ipsec.c
CFLAGS+=-DIPSEC
+.if !defined(NO_INET6)
CFLAGS+=-DINET6
+.endif
WARNS?= 2
NO_WERROR=
OpenPOWER on IntegriCloud