From e40304f2f10807ce05f19df763e8c3d7cb5c0ce3 Mon Sep 17 00:00:00 2001 From: apio Date: Wed, 12 Oct 2022 15:30:41 +0200 Subject: [PATCH] libc: Add off_t to sys/types.h --- libs/libc/include/sys/types.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/libc/include/sys/types.h b/libs/libc/include/sys/types.h index 064996f5..5c96ba2a 100644 --- a/libs/libc/include/sys/types.h +++ b/libs/libc/include/sys/types.h @@ -10,4 +10,7 @@ typedef unsigned long int size_t; /* Signed version of size_t. */ typedef long int ssize_t; +/* The type of an offset into a file. */ +typedef long int off_t; + #endif \ No newline at end of file