From 204d80496db10c9d0080f330d96d0e7779a4d49e Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Fri, 21 Apr 2023 16:59:30 +0900 Subject: [PATCH] libc: define FILENAME_MAX like other platforms --- base/usr/include/stdio.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/usr/include/stdio.h b/base/usr/include/stdio.h index 2317b993..5e0c0e43 100644 --- a/base/usr/include/stdio.h +++ b/base/usr/include/stdio.h @@ -95,4 +95,7 @@ typedef long fpos_t; extern int fgetpos(FILE *stream, fpos_t *pos); extern int fsetpos(FILE *stream, const fpos_t *pos); +/* Compatibility */ +#define FILENAME_MAX 1024 + _End_C_Header;