1 --- klibc-0.193/kinit/do_mounts.c.orig 2004-12-12 21:12:27.000000000 +0100
2 +++ klibc-0.193/kinit/do_mounts.c 2004-12-12 21:13:41.211035224 +0100
7 +#include <sys/dirent.h>
15 - for (s = p; s < p + size; s += ((struct linux_dirent64 *)s)->d_reclen) {
16 - struct linux_dirent64 *d = (struct linux_dirent64 *)s;
17 + for (s = p; s < p + size; s += ((struct dirent *)s)->d_reclen) {
18 + struct dirent *d = (struct dirent *)s;
19 if (strlen(d->d_name) + 2 > rest)
22 --- klibc-0.193/include/sys/dirent.h.orig 2004-06-08 07:32:48.000000000 +0200
23 +++ klibc-0.193/include/sys/dirent.h 2004-12-12 21:42:06.398807280 +0100
26 __extern int getdents(unsigned int, struct dirent *, unsigned int);
28 +/* File types for `d_type'. */
32 +# define DT_UNKNOWN DT_UNKNOWN
34 +# define DT_FIFO DT_FIFO
36 +# define DT_CHR DT_CHR
38 +# define DT_DIR DT_DIR
40 +# define DT_BLK DT_BLK
42 +# define DT_REG DT_REG
44 +# define DT_LNK DT_LNK
46 +# define DT_SOCK DT_SOCK
48 +# define DT_WHT DT_WHT
51 #endif /* _SYS_DIRENT_H */