From ffffc0ce7d21756729f3b2690e39a4f2ff6300f4 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 19 Nov 2009 11:44:29 +0000 Subject: [PATCH] * ext/socket/getnameinfo.c: need to include extconf.h for HAVE_* macros. reported by Kenta Murata via IRC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/socket/getnameinfo.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9995d083d5..32d3ba66b4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Nov 19 20:43:39 2009 NAKAMURA Usaku + + * ext/socket/getnameinfo.c: need to include extconf.h for HAVE_* macros. + reported by Kenta Murata via IRC. + Thu Nov 19 17:00:59 2009 NAKAMURA Usaku * 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 689b91c291..62a14ac555 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 #include #ifndef _WIN32