aboutsummaryrefslogtreecommitdiff
path: root/sbin/route/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/route/Makefile')
-rw-r--r--sbin/route/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/route/Makefile b/sbin/route/Makefile
index 231c3dad8b3f..569d21af07a0 100644
--- a/sbin/route/Makefile
+++ b/sbin/route/Makefile
@@ -10,11 +10,12 @@ WARNS?= 3
CLEANFILES+=keywords.h
CFLAGS+= -DNS
-
+.if ${MK_INET_SUPPORT} != "no"
+CFLAGS+= -DINET
+.endif
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6
.endif
-
CFLAGS+= -I.
keywords.h: keywords