The attached patch puts back a line required for Classpath to be built on 
Solaris.  It seems to have been lost in the move from PlainSocketImpl to
VMPlainSocketImpl.

Changelog:

2006-03-02  Andrew John Hughes  <[EMAIL PROTECTED]>

        * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
        Fix regression caused by move to VM variant.
        PR classpath/22926.

-- 
Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Support OpenDocument instead.

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }

"Value your freedom, or you will lose it, teaches history. 
`Don't bother us with politics' respond those who don't want to learn." 
-- Richard Stallman
Index: native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
===================================================================
RCS file: /sources/classpath/classpath/native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,v
retrieving revision 1.4
diff -u -3 -p -u -r1.4 gnu_java_net_VMPlainSocketImpl.c
--- native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c	12 Jan 2006 09:37:31 -0000	1.4
+++ native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c	2 Mar 2006 11:10:22 -0000
@@ -49,6 +49,7 @@ exception statement from your version. *
 
 #include "target_native.h"
 #ifndef WITHOUT_NETWORK
+  #include "target_native_file.h"  /* Get FIONREAD on Solaris.  */
   #include "target_native_network.h"
 #endif /* WITHOUT_NETWORK */
 

Reply via email to