diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2004-08-01 04:29:31 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@gcc.gnu.org> | 2004-08-01 04:29:31 +0000 |
commit | 5b5662eea779eb744d214bd46fc4e4fed67b8d33 (patch) | |
tree | df243c4d0168eaa45846882e1060f57323f7dbbe /libjava/include | |
parent | 6b3b5f051759027e607f4b1ad8e10960de1fcddd (diff) | |
download | gcc-5b5662eea779eb744d214bd46fc4e4fed67b8d33.zip gcc-5b5662eea779eb744d214bd46fc4e4fed67b8d33.tar.gz gcc-5b5662eea779eb744d214bd46fc4e4fed67b8d33.tar.bz2 |
configure.in [...] (SYSTEMSPEC): Remove -lwsock32.
* configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
* configure. Regenerate.
* include/win32.h: Explicitly include winsock2.h
* win32.cc (_Jv_platform_initialize): Require version 2.2 of
Winsock api.
From-SVN: r85401
Diffstat (limited to 'libjava/include')
-rw-r--r-- | libjava/include/win32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/include/win32.h b/libjava/include/win32.h index 8dd2964..a660616 100644 --- a/libjava/include/win32.h +++ b/libjava/include/win32.h @@ -22,6 +22,8 @@ details. */ // Includes #define WIN32_LEAN_AND_MEAN +// Force Winsock 2 interface. +#include <winsock2.h> #include <windows.h> #undef WIN32_LEAN_AND_MEAN #undef STRICT |