From d970debb4d7ce8b0241eda83f41f96edd9f2a726 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Tue, 6 Jan 2026 16:02:58 +0200 Subject: [PATCH] LibC: Define MAXPATHLEN in sys/param.h This file is not POSIX, but some software seems to rely on it --- userspace/libraries/LibC/include/sys/param.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/userspace/libraries/LibC/include/sys/param.h b/userspace/libraries/LibC/include/sys/param.h index e69de29b..4be8b31d 100644 --- a/userspace/libraries/LibC/include/sys/param.h +++ b/userspace/libraries/LibC/include/sys/param.h @@ -0,0 +1,14 @@ +#ifndef _SYS_PARAM_H +#define _SYS_PARAM_H 1 + +#include + +__BEGIN_DECLS + +#include + +#define MAXPATHLEN PATH_MAX + +__END_DECLS + +#endif