patch-2.0.1 linux/include/linux/dirent.h
Next file: linux/include/linux/ext2_fs.h
Previous file: linux/include/linux/affs_fs.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Tue Jul 2 19:08:43 1996
- Orig file:
v2.0.0/linux/include/linux/dirent.h
- Orig date:
Tue Aug 15 18:31:52 1995
diff -u --recursive --new-file v2.0.0/linux/include/linux/dirent.h linux/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;
unsigned short d_reclen;
- char d_name[NAME_MAX+1];
+ char d_name[256]; /* We must not include limits.h! */
};
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov