1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-03-09 12:06:07 +00:00

Include for missing definition for MAXNAMLEN on Solaris (#462)

The fix to allow compiling for Alpine Linux caused breakage on Solaris
because MAXNAMLEN is defined in <dirent.h> which was now NOT included.
Pending a conversion to POSIX NAME_MAX, include <dirent.h> in "locfile.h".
This commit is contained in:
Nick Briggs
2023-03-16 18:30:03 -07:00
committed by GitHub
parent 662fe9550c
commit 7c322f41c4

View File

@@ -10,6 +10,7 @@
/************************************************************************/
#include <errno.h>
#include <limits.h> /* for NAME_MAX */
#include <dirent.h> /* for MAXNAMLEN */
#include "lispemul.h" /* for DLword */
#define FDEV_PAGE_SIZE 512 /* 1 page == 512 byte */