summaryrefslogtreecommitdiff
path: root/src/libc/include
diff options
context:
space:
mode:
authordzwdz2023-08-17 00:36:04 +0200
committerdzwdz2023-08-17 00:50:52 +0200
commit292b2386d766826b15f5ca084d37aa2c485fdda6 (patch)
tree125c217a90daa957548e9acb8bdecfff3d8374b2 /src/libc/include
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/libc/include')
-rw-r--r--src/libc/include/limits.h6
-rw-r--r--src/libc/include/locale.h1
2 files changed, 1 insertions, 6 deletions
diff --git a/src/libc/include/limits.h b/src/libc/include/limits.h
deleted file mode 100644
index 972553f..0000000
--- a/src/libc/include/limits.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#pragma once
-#include <camellia/path.h> // just for PATH_MAX
-// #include_next <limits.h>
-
-#define _POSIX2_RE_DUP_MAX 255
-#define NAME_MAX 255
diff --git a/src/libc/include/locale.h b/src/libc/include/locale.h
index 1221375..0ea16a6 100644
--- a/src/libc/include/locale.h
+++ b/src/libc/include/locale.h
@@ -1,5 +1,6 @@
#pragma once
#include <limits.h>
+#include <stddef.h>
#define LC_ALL 0
#define LC_COLLATE 1