diff options
Diffstat (limited to 'sysdeps/unix/common')
-rw-r--r-- | sysdeps/unix/common/direntry.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/common/direntry.h b/sysdeps/unix/common/direntry.h index 5decd56db6..aa065474bf 100644 --- a/sysdeps/unix/common/direntry.h +++ b/sysdeps/unix/common/direntry.h @@ -22,7 +22,7 @@ struct dirent unsigned int d_fileno; int d_off; /* Position in directory of following entry. */ unsigned short int d_reclen; - char d_name[0]; /* Variable length. */ + char d_name[1]; /* Variable length. */ }; #define _DIRENT_HAVE_D_RECLEN 1 |