diff options
author | Mark Wielaard <mark@klomp.org> | 2007-04-12 14:14:12 +0000 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2007-04-12 14:14:12 +0000 |
commit | 03e404f03bbbb8cf7e0df7c7e2f9f0d4006f1e12 (patch) | |
tree | 2db9ebf9f079597975199311b4e7c3a1b79d80ff | |
parent | 8b3d371a630266d2ed15c4c4e8b836580a793d3f (diff) | |
download | classpath-03e404f03bbbb8cf7e0df7c7e2f9f0d4006f1e12.tar.gz |
2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
* native/jni/java-nio/javanio.c: Include fcntl.h instead of
sys/fcntl.h.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | native/jni/java-nio/javanio.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2007-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at> + + * native/jni/java-nio/javanio.c: Include fcntl.h instead of + sys/fcntl.h. + 2007-04-12 Mark Wielaard <mark@klomp.org> * gnu/java/awt/peer/ClasspathFontPeer.java (LRUCache): New static diff --git a/native/jni/java-nio/javanio.c b/native/jni/java-nio/javanio.c index 4775fd424..09806f8ba 100644 --- a/native/jni/java-nio/javanio.c +++ b/native/jni/java-nio/javanio.c @@ -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) |