summaryrefslogtreecommitdiffstats
path: root/include/linux/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/dirent.h')
-rw-r--r--include/linux/dirent.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/dirent.h b/include/linux/dirent.h
index 219faf1cb..a18f7e463 100644
--- a/include/linux/dirent.h
+++ b/include/linux/dirent.h
@@ -1,13 +1,11 @@
#ifndef _LINUX_DIRENT_H
#define _LINUX_DIRENT_H
-#include <linux/limits.h>
-
struct dirent {
long d_ino;
- off_t d_off;
+ __kernel_off_t d_off;
unsigned short d_reclen;
- char d_name[NAME_MAX+1];
+ char d_name[256]; /* We must not include limits.h! */
};
#endif