]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
fix netcat build problem
authorDamien Miller <djm@mindrot.org>
Sat, 17 Oct 2020 00:33:13 +0000 (11:33 +1100)
committerDamien Miller <djm@mindrot.org>
Sat, 17 Oct 2020 00:33:13 +0000 (11:33 +1100)
regress/netcat.c

index d583176f1f28c56a812d26a4383441a02e8dc698..20ec3f5954faad76dba6615bdba18bbf8d3dc9f3 100644 (file)
@@ -69,6 +69,9 @@
 # include <sys/byteorder.h>
 #endif
 
+/* rename to avoid collision in libssh */
+#define timeout_connect netcat_timeout_connect
+
 /* Telnet options from arpa/telnet.h */
 #define IAC    255
 #define DONT   254