Hi!
IRIX had a problem with including sys/fcntl.h directly. Commited.
- twisti
---
2007-04-11 Christian Thalinger <[EMAIL PROTECTED]>
* native/jni/java-nio/javanio.c: Include fcntl.h instead of
sys/fcntl.h.
Index: native/jni/java-nio/javanio.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-nio/javanio.c,v
retrieving revision 1.4
diff -u -3 -p -r1.4 javanio.c
--- native/jni/java-nio/javanio.c 28 Jan 2007 13:32:33 -0000 1.4
+++ native/jni/java-nio/javanio.c 11 Apr 2007 21:35:45 -0000
@@ -41,12 +41,12 @@ exception statement from your version.
* we include this file in the header, and do not compile it.
*/
+#include <fcntl.h>
+#include <unistd.h>
#include <sys/types.h>
-#include <sys/fcntl.h>
#include <sys/socket.h>
#include <sys/select.h>
#include <sys/uio.h>
-#include <unistd.h>
CPNIO_EXPORT ssize_t
cpnio_read (int fd, void *buf, size_t nbytes)