Skip to content

Commit

Permalink
x.vweb: add the missing include for C.sendfile to sendfile_linux.c.v
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Feb 4, 2024
1 parent ff60293 commit a80af0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vlib/x/vweb/sendfile_linux.c.v
@@ -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 {
Expand Down

0 comments on commit a80af0f

Please sign in to comment.