Bug #1088: Fix for gcc43
http://redmine.ruby-lang.org/issues/show/1088

Author: Jeroen van Meeuwen
Status: Open, Priority: Normal
ruby -v: 1.8.7-p72

There have been circumstances in gcc43 where NI_MAXHOST wasn't defined anymore. The ext/socket/socket.c does define NI_MAXHOST for those cases, but fails to define it. The attached patch fixes that. Based on ruby-1.8.7-p72


----------------------------------------
http://redmine.ruby-lang.org