From a80af0ff6230e155e85ad37b65c6eec73ecb4959 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sun, 4 Feb 2024 23:09:20 +0200 Subject: [PATCH] x.vweb: add the missing include for C.sendfile to sendfile_linux.c.v --- vlib/x/vweb/sendfile_linux.c.v | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vlib/x/vweb/sendfile_linux.c.v b/vlib/x/vweb/sendfile_linux.c.v index 22508bead0..19d3e9e4f1 100644 --- a/vlib/x/vweb/sendfile_linux.c.v +++ b/vlib/x/vweb/sendfile_linux.c.v @@ -1,5 +1,7 @@ module vweb +#include + 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 {