From c754da94337ca9a10c26ebe9a80933609b19a024 Mon Sep 17 00:00:00 2001 From: Neal Andrew Crook Date: Tue, 24 May 2016 22:57:03 +0100 Subject: [PATCH] Define NAME_MAX to be the same as MAXNAMLEN Allegedly: MAXNAMLEN is the BSD name for what POSIX calls NAME_MAX --- Library/include/dirent.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/include/dirent.h b/Library/include/dirent.h index a6c4f1b6..695088ea 100644 --- a/Library/include/dirent.h +++ b/Library/include/dirent.h @@ -4,8 +4,9 @@ #include #endif - +/* `MAXNAMLEN' is the BSD name for what POSIX calls `NAME_MAX'. */ #define MAXNAMLEN 30 +#define NAME_MAX 30 struct dirent { long d_ino; /* Try to be iBCS2 like */ -- 2.34.1