From 03e404f03bbbb8cf7e0df7c7e2f9f0d4006f1e12 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 12 Apr 2007 14:14:12 +0000 Subject: 2007-04-11 Christian Thalinger * native/jni/java-nio/javanio.c: Include fcntl.h instead of sys/fcntl.h. --- ChangeLog | 5 +++++ native/jni/java-nio/javanio.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5d4dde3b5..544d5c974 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-04-11 Christian Thalinger + + * native/jni/java-nio/javanio.c: Include fcntl.h instead of + sys/fcntl.h. + 2007-04-12 Mark Wielaard * 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 +#include #include -#include #include #include #include -#include CPNIO_EXPORT ssize_t cpnio_read (int fd, void *buf, size_t nbytes) -- cgit v1.2.1