mirror of
https://github.com/vlang/v.git
synced 2025-09-12 08:57:09 -04:00
x.vweb: add the missing include for C.sendfile to sendfile_linux.c.v
This commit is contained in:
parent
ff60293caf
commit
a80af0ff62
@ -1,5 +1,7 @@
|
||||
module vweb
|
||||
|
||||
#include <sys/sendfile.h>
|
||||
|
||||
fn C.sendfile(out_fd int, in_fd int, offset voidptr, count int) int
|
||||
|
||||
fn sendfile(out_fd int, in_fd int, nr_bytes int) int {
|
||||
|
Loading…
x
Reference in New Issue
Block a user