--- nbase/configure.orig	2011-01-21 15:00:04.000000000 -0600
+++ nbase/configure	2011-10-17 14:20:42.000000000 -0500
@@ -4509,7 +4509,7 @@
 #include <sys/socket.h>
 #endif
 
-void main(void) {
+int main(void) {
     struct addrinfo hints, *ai;
     int error;
 
@@ -4641,7 +4641,7 @@
 #include <netinet/in.h>
 #endif
 
-void main(void) {
+int main(void) {
     struct sockaddr_in sa;
     char hbuf[256];
     int error;
