From 1645da679ce50b13b6f19a062eabd2d869762a07 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Wed, 15 Feb 2023 15:07:56 +0100 Subject: add framebuffer image support --- lib/sys/read.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/sys/read.h') diff --git a/lib/sys/read.h b/lib/sys/read.h index 61e5576..b7d0851 100644 --- a/lib/sys/read.h +++ b/lib/sys/read.h @@ -1,8 +1,9 @@ #ifndef READ_H #define READ_H #include "syscalls.h" +#include "sizes.h" -static int read(unsigned int fd, char * buf, unsigned long count) +static u64 read(unsigned int fd, char * buf, unsigned long count) { return syscall(READ, fd, buf, count, 0, 0); } -- cgit v1.2.3-70-g09d2