Skip to content

Commit a80af0f

Browse files
committed
x.vweb: add the missing include for C.sendfile to sendfile_linux.c.v
1 parent ff60293 commit a80af0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vlib/x/vweb/sendfile_linux.c.v

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
module vweb
22

3+
#include <sys/sendfile.h>
4+
35
fn C.sendfile(out_fd int, in_fd int, offset voidptr, count int) int
46

57
fn sendfile(out_fd int, in_fd int, nr_bytes int) int {

0 commit comments

Comments
 (0)