Skip to content

Commit

Permalink
configure: Avoid an implicit int in the IPv6 test
Browse files Browse the repository at this point in the history
Otherwise, the test fails unconditionally with compilers that
do not support implicit ints (a language feature that was removed with
the C99 language revision).
  • Loading branch information
fweimer-rh committed Apr 19, 2023
1 parent 60032f1 commit 56e4051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/amanda/ipv6.m4
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ AC_DEFUN([AMANDA_CHECK_IPV6],
#include <sys/socket.h>
#include <errno.h>
main()
int main(void)
{
int aa;
aa = socket(AF_INET6, SOCK_STREAM, 0);
Expand Down

0 comments on commit 56e4051

Please sign in to comment.