diff options
author | Roland McGrath <roland@gnu.org> | 1996-07-09 12:22:26 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-07-09 12:22:26 +0000 |
commit | 089b2b8ad8bac143a3820e6c9b60f7c505ca8b49 (patch) | |
tree | f0d0d27c57400a8010d00c574bf2ce20550edb61 /sysdeps/unix/sysv/linux/direntry.h | |
parent | 99c57951000ce21cc6e885d230e6481742364aaa (diff) | |
download | glibc-089b2b8ad8bac143a3820e6c9b60f7c505ca8b49.tar.gz glibc-089b2b8ad8bac143a3820e6c9b60f7c505ca8b49.tar.xz glibc-089b2b8ad8bac143a3820e6c9b60f7c505ca8b49.zip |
* sysdeps/unix/sysv/linux/configure.in: Use version number in cache
variable name, so new a libc with new requirements won't fail to notice an insufficient Linux version.
Diffstat (limited to 'sysdeps/unix/sysv/linux/direntry.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/direntry.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/direntry.h b/sysdeps/unix/sysv/linux/direntry.h new file mode 100644 index 0000000000..1d661d642a --- /dev/null +++ b/sysdeps/unix/sysv/linux/direntry.h @@ -0,0 +1,14 @@ +/* Get `struct dirent' from the Linux kernel header file. */ + +#ifndef _DIRENTRY_H +#define _DIRENTRY_H + +#include <linux/dirent.h> + +#define d_fileno d_ino /* backwards compatibility */ + +#undef _DIRENT_HAVE_D_NAMLEN +#define _DIRENT_HAVE_D_RECLEN +#define _DIRENT_HAVE_D_OFF + +#endif /* _DIRENTRY_H */ |