--- configure.orig 2023-04-30 13:40:55.498111399 +0200 +++ configure 2023-04-30 13:41:19.426932141 +0200 @@ -29413,7 +29413,7 @@ #include #include - void main(void) { + int main(void) { struct addrinfo hints, *ai; int error; @@ -29422,12 +29422,12 @@ hints.ai_socktype = SOCK_STREAM; error = getaddrinfo("127.0.0.1", NULL, &hints, &ai); if (error) { - exit(1); + return(1); } if (ai->ai_addr->sa_family != AF_INET) { - exit(1); + return(1); } - exit(0); + return(0); } _ACEOF