Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Tue, 9 Jul 1996 12:19:26 +0000 (12:19 +0000)
committerroland <roland>
Tue, 9 Jul 1996 12:19:26 +0000 (12:19 +0000)
* sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.

sysdeps/unix/sysv/linux/direntry.h [new file with mode: 0644]

diff --git a/sysdeps/unix/sysv/linux/direntry.h b/sysdeps/unix/sysv/linux/direntry.h
new file mode 100644 (file)
index 0000000..1d661d6
--- /dev/null
@@ -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 */