From 292b2386d766826b15f5ca084d37aa2c485fdda6 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 17 Aug 2023 00:36:04 +0200 Subject: build: rework how sysroots work /usr/include is now built on the fly, letting me merge include files from multiple modules, which should be a win for organization later on. binutils & gcc need to be recompiled. limits.h shamelessly stolen from heat on #osdev, as gcc stopped providing me with its own header. which was a hack in the first place --- src/libk/include/limits.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/libk/include/limits.h (limited to 'src/libk/include/limits.h') diff --git a/src/libk/include/limits.h b/src/libk/include/limits.h new file mode 100644 index 0000000..4cb972d --- /dev/null +++ b/src/libk/include/limits.h @@ -0,0 +1,5 @@ +#include + +#define NAME_MAX 255 +#define PATH_MAX 512 +#define _POSIX2_RE_DUP_MAX 255 -- cgit v1.2.3