natPlainDatagramSocket.cc: include ws2tcpip.h for definition of IP_TOS.

2002-09-07  Adam Megacz <adam@xwt.org>

        * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
        definition of IP_TOS.

From-SVN: r56918
This commit is contained in:
Adam Megacz 2002-09-07 19:01:16 +00:00 committed by Adam Megacz
parent 8bd06267cf
commit 3a357ad127
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-09-07 Adam Megacz <adam@xwt.org>
* java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
definition of IP_TOS.
2002-09-04 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java

View File

@ -13,6 +13,7 @@ details. */
#ifdef WIN32
#include <errno.h>
#include <string.h>
#include <ws2tcpip.h>
#ifndef ENOPROTOOPT
#define ENOPROTOOPT 109
#endif