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