This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
commit: extra include for win32 natPlainDatagramSocket
- From: Adam Megacz <gcj at lists dot megacz dot com>
- To: java-patches at gcc dot gnu dot org
- Date: 07 Sep 2002 12:01:15 -0700
- Subject: commit: extra include for win32 natPlainDatagramSocket
- Organization: Myself
committed.
- a
2002-09-07 Adam Megacz <adam@xwt.org>
* java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
definition of IP_TOS.
Index: natPlainDatagramSocketImpl.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/natPlainDatagramSocketImpl.cc,v
retrieving revision 1.42
diff -u -r1.42 natPlainDatagramSocketImpl.cc
--- natPlainDatagramSocketImpl.cc 4 Sep 2002 17:35:22 -0000 1.42
+++ natPlainDatagramSocketImpl.cc 7 Sep 2002 18:59:14 -0000
@@ -13,6 +13,7 @@
#ifdef WIN32
#include <errno.h>
#include <string.h>
+#include <ws2tcpip.h>
#ifndef ENOPROTOOPT
#define ENOPROTOOPT 109
#endif
--
"We really haven't done everything we could to protect our
customers. Our products just aren't engineered for security."
-- Brian Valentine, Microsoft executive