summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test_echo_tcp_bind.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_echo_tcp_bind.c b/tests/test_echo_tcp_bind.c
index 796c362..8718367 100644
--- a/tests/test_echo_tcp_bind.c
+++ b/tests/test_echo_tcp_bind.c
@@ -26,12 +26,14 @@ static int setup_echo_srv_tcp_ipv4(void **state)
return 0;
}
+#ifdef HAVE_IPV6
static int setup_echo_srv_tcp_ipv6(void **state)
{
torture_setup_echo_srv_tcp_ipv6(state);
return 0;
}
+#endif
static int teardown(void **state)
{