summaryrefslogtreecommitdiff
path: root/src/libk/include/limits.h
diff options
context:
space:
mode:
authordzwdz2023-08-17 00:36:04 +0200
committerdzwdz2023-08-17 00:50:52 +0200
commit292b2386d766826b15f5ca084d37aa2c485fdda6 (patch)
tree125c217a90daa957548e9acb8bdecfff3d8374b2 /src/libk/include/limits.h
parenta454a4ee0c50d2a9f4eb340d4a9ec60b9e089c9a (diff)
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
Diffstat (limited to 'src/libk/include/limits.h')
-rw-r--r--src/libk/include/limits.h5
1 files changed, 5 insertions, 0 deletions
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 <bits/limits.h>
+
+#define NAME_MAX 255
+#define PATH_MAX 512
+#define _POSIX2_RE_DUP_MAX 255