projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06951b7
)
Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
author
roland
<roland>
Tue, 9 Jul 1996 12:19:26 +0000
(12:19 +0000)
committer
roland
<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]
patch
|
blob
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
+++ 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 */