about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/direntry.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-07-09 12:22:26 +0000
committerRoland McGrath <roland@gnu.org>1996-07-09 12:22:26 +0000
commit089b2b8ad8bac143a3820e6c9b60f7c505ca8b49 (patch)
treef0d0d27c57400a8010d00c574bf2ce20550edb61 /sysdeps/unix/sysv/linux/direntry.h
parent99c57951000ce21cc6e885d230e6481742364aaa (diff)
downloadglibc-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.h14
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 */