diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/dirent.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/dirent.h b/include/linux/dirent.h index bef1120cba96..5d6023b87800 100644 --- a/include/linux/dirent.h +++ b/include/linux/dirent.h @@ -16,4 +16,17 @@ struct dirent64 { char d_name[256]; }; +#ifdef __KERNEL__ + +struct linux_dirent64 { + u64 d_ino; + s64 d_off; + unsigned short d_reclen; + unsigned char d_type; + char d_name[0]; +}; + +#endif /* __KERNEL__ */ + + #endif |
