102-fix_musl_compatibility.patch (306B)
1 --- a/src/getsdir.h 2 +++ b/src/getsdir.h 3 @@ -24,6 +24,10 @@ 4 5 #include <dirent.h> 6 7 +#ifndef MAXNAMLEN 8 +#define MAXNAMLEN 255 9 +#endif 10 + 11 typedef struct dirEntry { /* structure of data item */ 12 char fname[MAXNAMLEN + 1]; /* filename + terminating null */ 13 time_t time; /* last modification date */