Displaying 1 result from an estimated 1 matches for "ccad7f13".
2024 Jan 07
0
[PATCH] Fix INET6 detection on recent clang
...a pair of hosts, whereupon ssh between them works
but rsync unexpectedly fails with 'Name has no usable address'.
Signed-off-by: Chris Webb <chris at arachsys.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index ccad7f13..9a766c94 100644
--- a/configure.ac
+++ b/configure.ac
@@ -392,7 +392,7 @@ AS_HELP_STRING([--disable-ipv6],[disable to omit ipv6 support]),
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
-main()
+int main(void)
{
if (socket(AF_INET6, SOCK_STREAM, 0) <...