This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

commit: extra include for win32 natPlainDatagramSocket


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]