From 51e4b1189078e6ea43a6cfc7d0402154c7e804d6 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Mon, 10 Jul 2023 10:45:05 +0300 Subject: [PATCH] LibC: add NAME_MAX to limits.h This is defined to 255 which is _XOPEN_NAME_MAX, smallest value for XOPEN compliance --- libc/include/limits.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/include/limits.h b/libc/include/limits.h index bb6c9b724b..98307aa6a8 100644 --- a/libc/include/limits.h +++ b/libc/include/limits.h @@ -12,6 +12,7 @@ __BEGIN_DECLS // and posix constants #define OPEN_MAX 64 +#define NAME_MAX 255 __END_DECLS