summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
Diffstat (limited to 'rescue')
-rw-r--r--rescue/librescue/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/rescue/librescue/Makefile b/rescue/librescue/Makefile
index daa1ff5..03ffec5 100644
--- a/rescue/librescue/Makefile
+++ b/rescue/librescue/Makefile
@@ -26,7 +26,9 @@ CFLAGS+= -DRESCUE
# libc/db/Makefile.inc
CFLAGS+= -D__DBINTERFACE_PRIVATE
# libc/net/Makefile.inc & libutil/Makefile
+.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6
+.endif
# libc/regex/Makefile.inc & libc/regex/grot/Makefile
CFLAGS+= -DPOSIX_MISTAKE
# libc/rpc/Makefile.inc
OpenPOWER on IntegriCloud