diff --git a/testcode/streamtcp.c b/testcode/streamtcp.c index 8a77f0858..f06603e8d 100644 --- a/testcode/streamtcp.c +++ b/testcode/streamtcp.c @@ -74,6 +74,7 @@ open_svr(const char* svr, int udp) exit(1); } #ifndef PF_INET6 +/** define in case streamtcp is compiled on legacy systems */ #define PF_INET6 10 #endif fd = socket(addr_is_ip6(&addr, addrlen)?PF_INET6:PF_INET,