]> git.wh0rd.org - dump.git/commitdiff
Another glitch for libc5 systems.
authorStelian Pop <stelian@popies.net>
Sun, 7 Nov 1999 18:53:50 +0000 (18:53 +0000)
committerStelian Pop <stelian@popies.net>
Sun, 7 Nov 1999 18:53:50 +0000 (18:53 +0000)
compat/include/bsdcompat.h

index 8c367748384dac4078d2ed32816ae8225c07676a..223db8e1bf4b4f7a830485908deeda944e5dcbf6 100644 (file)
@@ -4,7 +4,7 @@
  *     Remy Card <card@Linux.EU.Org>, 1994-1997
  *     Stelian Pop <pop@cybercable.fr>, 1999
  *
- *     $Id: bsdcompat.h,v 1.7 1999/10/22 18:12:32 tiniou Exp $
+ *     $Id: bsdcompat.h,v 1.8 1999/11/07 18:53:50 tiniou Exp $
  */
 
 #include <config.h>
@@ -127,6 +127,10 @@ struct dinode {
 #define DT_SOCK                12
 #endif
 
+#ifndef d_fileno
+#define d_fileno d_ino
+#endif
+
 struct direct {
        __u32   d_ino;
        __u16   d_reclen;