This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
[cygwin gcc-3.1] Patch to java/net/natPlainSocketImpl.cc
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- To: <cygwin-apps at cygwin dot com>
- Date: Sun, 9 Jun 2002 12:50:09 +1000
- Subject: [cygwin gcc-3.1] Patch to java/net/natPlainSocketImpl.cc
Patch to cygwin gcc-3.1 branch.
2002-06-09 David Billinghurst <David.Billinghurst@riotinto.com>
* java/net/natPlainSocketImpl.cc: Include <sys/ioctl.h>
Index: java/net/natPlainSocketImpl.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/natPlainSocketImpl.cc,v
retrieving revision 1.30.2.10
diff -u -r1.30.2.10 natPlainSocketImpl.cc
--- java/net/natPlainSocketImpl.cc 15 Apr 2002 03:21:58 -0000 1.30.20
+++ java/net/natPlainSocketImpl.cc 9 Jun 2002 02:46:49 -0000
@@ -9,6 +9,10 @@
#include <config.h>
#include <platform.h>
+#ifdef HAVE_SYS_IOCTL_H
+#include <sys/ioctl.h>
+#endif
+
#ifndef DISABLE_JAVA_NET
#ifdef WIN32
#include <windows.h>