speculative pre-emptive freebsd 4 compatibility ;)

This commit is contained in:
leitner 2004-02-21 17:27:42 +00:00
parent 069aedc871
commit 8454eb7e4c
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#include <unistd.h> #include <unistd.h>
#include <sys/types.h>
#include <sys/mman.h> #include <sys/mman.h>
#include "io_internal.h" #include "io_internal.h"

View File

@ -97,6 +97,7 @@ int64 io_sendfile(int64 s,int64 fd,uint64 off,uint64 n) {
#else #else
#include <unistd.h> #include <unistd.h>
#include <sys/types.h>
#include <sys/mman.h> #include <sys/mman.h>
#define BUFSIZE 16384 #define BUFSIZE 16384