102-fix_musl_compatibility.patch 306 B

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