[cygwin gcc-3.1] Patch to java/net/natPlainSocketImpl.cc
Billinghurst, David (CRTS)
David.Billinghurst@riotinto.com
Sat Jun 8 19:50:00 GMT 2002
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>
More information about the Cygwin-apps
mailing list