aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-06 07:43:45 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-06 07:43:45 +0000
commit6d5e291f7d25ae0f9b53ff7b94e09610fb55ccc7 (patch)
treecf76e8802a7adf9ee038e79b61562b370ce0d6a6
parentf6ec71fc4c0d149ed1682b574c06ab75f125b5b1 (diff)
downloadruby-6d5e291f7d25ae0f9b53ff7b94e09610fb55ccc7.tar.gz
* include/ruby/win32.h: include ws2tcpip.h. fixed [ruby-Bugs-20528]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--include/ruby/win32.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9c870c9714..732371201d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Jun 6 16:41:45 2008 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * include/ruby/win32.h: include ws2tcpip.h. fixed [ruby-Bugs-20528]
+
Fri Jun 6 15:05:02 2008 Tanaka Akira <akr@fsij.org>
* gc.c (count_objects): clear hash after counting objects.
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index a0acb7fff9..a340586d32 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -28,6 +28,7 @@ extern "C" {
// #include <stdarg.h> conflict with varargs.h?
#if !defined(WSAAPI)
#include <winsock2.h>
+#include <ws2tcpip.h>
#endif
#define NT 1 /* deprecated */