speculative pre-emptive freebsd 4 compatibility ;)

master
leitner 21 years ago
parent 069aedc871
commit 8454eb7e4c

@ -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"

@ -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

Loading…
Cancel
Save