From 089b2b8ad8bac143a3820e6c9b60f7c505ca8b49 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 9 Jul 1996 12:22:26 +0000 Subject: * 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. --- sysdeps/unix/sysv/linux/direntry.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sysdeps/unix/sysv/linux/direntry.h (limited to 'sysdeps/unix/sysv/linux/direntry.h') 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 + +#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 */ -- cgit v1.2.3