aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/win32.h
diff options
context:
space:
mode:
authorAdam Megacz <adam@xwt.org>2002-09-14 21:56:44 +0000
committerAdam Megacz <megacz@gcc.gnu.org>2002-09-14 21:56:44 +0000
commit981f97c3641ce62391dffab22c971266cbaa057b (patch)
treec154546639f37472f6e47805a91ec2c22a46c861 /libjava/include/win32.h
parent3eaf7a3ce7ae3ff1c0f51cd383dfb458bd214406 (diff)
downloadgcc-981f97c3641ce62391dffab22c971266cbaa057b.zip
gcc-981f97c3641ce62391dffab22c971266cbaa057b.tar.gz
gcc-981f97c3641ce62391dffab22c971266cbaa057b.tar.bz2
natPlainDatagramSocket.cc: removed #include <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
2002-09-14 Adam Megacz <adam@xwt.org> * java/net/natPlainDatagramSocket.cc: removed #include <ws2tcpip.h>; the mingw header is broken (conflicts with itself). * include/win32.h: included definition for IP_TOS to satisfy natPlainDatagramSocket.cc From-SVN: r57151
Diffstat (limited to 'libjava/include/win32.h')
-rw-r--r--libjava/include/win32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libjava/include/win32.h b/libjava/include/win32.h
index da71b8b..a035cfc 100644
--- a/libjava/include/win32.h
+++ b/libjava/include/win32.h
@@ -16,6 +16,7 @@ details. */
#undef __INSIDE_CYGWIN__
#include <winsock.h>
+#define IP_TOS 3
#include <gcj/cni.h>
#include <java/util/Properties.h>