1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2008-06-06 07:43:45 +00:00
parent f6ec71fc4c
commit 6d5e291f7d
2 changed files with 5 additions and 0 deletions

View file

@ -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> Fri Jun 6 15:05:02 2008 Tanaka Akira <akr@fsij.org>
* gc.c (count_objects): clear hash after counting objects. * gc.c (count_objects): clear hash after counting objects.

View file

@ -28,6 +28,7 @@ extern "C" {
// #include <stdarg.h> conflict with varargs.h? // #include <stdarg.h> conflict with varargs.h?
#if !defined(WSAAPI) #if !defined(WSAAPI)
#include <winsock2.h> #include <winsock2.h>
#include <ws2tcpip.h>
#endif #endif
#define NT 1 /* deprecated */ #define NT 1 /* deprecated */