From 56e405180bf2775453bd4580725d5788d43c398c Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 14 Apr 2023 15:45:16 +0200 Subject: [PATCH] configure: Avoid an implicit int in the IPv6 test Otherwise, the test fails unconditionally with compilers that do not support implicit ints (a language feature that was removed with the C99 language revision). --- config/amanda/ipv6.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/amanda/ipv6.m4 b/config/amanda/ipv6.m4 index 9d76979339..d91ab95ab9 100644 --- a/config/amanda/ipv6.m4 +++ b/config/amanda/ipv6.m4 @@ -85,7 +85,7 @@ AC_DEFUN([AMANDA_CHECK_IPV6], #include #include -main() +int main(void) { int aa; aa = socket(AF_INET6, SOCK_STREAM, 0);