summaryrefslogtreecommitdiff
path: root/win32/include
diff options
context:
space:
mode:
Diffstat (limited to 'win32/include')
-rw-r--r--win32/include/dirent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/include/dirent.h b/win32/include/dirent.h
index d6eb7ea0d9..a66901234f 100644
--- a/win32/include/dirent.h
+++ b/win32/include/dirent.h
@@ -26,7 +26,7 @@ typedef struct direct
{
long d_ino; /* inode number (not used by MS-DOS) */
long d_namlen; /* name length */
- char *d_name; /* file name */
+ char d_name[257]; /* file name */
} _DIRECT;
/* structure for dir operations */