Fix org#2666 About fixing getaddrinfo check in ./configure
Thanks to Florian Weimer The exit function is not declared in this context, so the check will always fail with compilers which do not accept implicit function declarations. Change the return type of main to int and return directly from main instead.
Please register or sign in to comment