resurrect change#19628 and make it work by generalizing
[p5sagit/p5-mst-13.2.git] / win32 / include / dirent.h
index d6eb7ea..a669012 100644 (file)
@@ -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 */