Browse Source

speculative pre-emptive freebsd 4 compatibility ;)

master
Felix von Leitner 17 years ago
parent
commit
4f27d99c9d
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      io/io_close.c
  2. +1
    -0
      io/io_sendfile.c

+ 1
- 0
io/io_close.c View File

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


+ 1
- 0
io/io_sendfile.c View File

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


Loading…
Cancel
Save