From f4c8a0c7c2d13094178937bc7d43f23f903eca45 Mon Sep 17 00:00:00 2001 From: leitner Date: Fri, 4 Feb 2005 19:04:12 +0000 Subject: [PATCH] fix openbsd problem? --- CHANGES | 1 + io/io_sendfile.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index 3a97a7b..cc947e7 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,7 @@ 0.22: uh, the scope_id detection #defined the wrong constant. libowfat always thought there was no scope_id. Oops. + #include in io/io_sendfile.c 0.21: errno cleanup and man page updates (Rolf Eike Beer) diff --git a/io/io_sendfile.c b/io/io_sendfile.c index d828b9e..92ea954 100644 --- a/io/io_sendfile.c +++ b/io/io_sendfile.c @@ -114,6 +114,7 @@ int64 io_sendfile(int64 s,int64 fd,uint64 off,uint64 n) { #else #include +#include static int64 writecb(int64 s,const void* buf,uint64 n) { return write(s,buf,n);