unidiff version of the last patch I submitted
Richard Earnshaw
rearnsha@arm.com
Fri Jul 26 09:34:00 GMT 2002
> 2002-07-24 Tom Tromey <tromey@redhat.com>
> Tony Kimball <alk@pobox.com>
>
> * java/io/natFileDescriptorWin32.cc (setLength): New method.
> * java/io/natFileDescriptorPosix.cc (setLength): New method.
> * java/io/RandomAccessFile.java (setLength): New method.
> * java/io/natFileDescriptorEcos.cc (setLength): New method.
> * java/io/FileDescriptor.java (setLength): New method.
This bit:
> RCS file: /cvsroot/gcc/gcc/libjava/java/io/natFileDescriptorPosix.cc,v
> retrieving revision 1.19
> diff -u -r1.19 natFileDescriptorPosix.cc
> --- java/io/natFileDescriptorPosix.cc 10 Mar 2002 17:59:23 -0000 1.19
> +++ java/io/natFileDescriptorPosix.cc 6 Jul 2002 02:36:18 -0000
> @@ -17,6 +17,8 @@
> #include <string.h>
> #include <sys/stat.h>
> #include <sys/param.h>
> +#include <sys/socket.h>
> +#include <fcntl.h>
is causing a build failure on an arm-elf cross using newlib. Newlib
doesn't provide sys/socket.h so we die horribly.
R.
More information about the Java-patches
mailing list