diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/socket/getnameinfo.c | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Thu Nov 19 20:43:39 2009 NAKAMURA Usaku <usa@ruby-lang.org> + + * ext/socket/getnameinfo.c: need to include extconf.h for HAVE_* macros. + reported by Kenta Murata <mrkn AT mrkn.jp> via IRC. + Thu Nov 19 17:00:59 2009 NAKAMURA Usaku <usa@ruby-lang.org> * win32/Makefile.sub: nmake execute the file named echo if it exists diff --git a/ext/socket/getnameinfo.c b/ext/socket/getnameinfo.c index 689b91c29..62a14ac55 100644 --- a/ext/socket/getnameinfo.c +++ b/ext/socket/getnameinfo.c @@ -35,6 +35,9 @@ */ #include "ruby/config.h" +#ifdef RUBY_EXTCONF_H +#include RUBY_EXTCONF_H +#endif #include <stdio.h> #include <sys/types.h> #ifndef _WIN32 |