From 62653059d61eae9c559b514bb126df9e2e845273 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 14 Nov 2001 11:09:46 +0000 Subject: Scrub up some lingering problems preventing readdir64 from working and creating several *64 problems, particualrly when client apps used -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64. All better now. -Erik --- libc/sysdeps/linux/v850/bits/dirent.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc/sysdeps/linux/v850') diff --git a/libc/sysdeps/linux/v850/bits/dirent.h b/libc/sysdeps/linux/v850/bits/dirent.h index 1754c7cbe..472ae1a04 100644 --- a/libc/sysdeps/linux/v850/bits/dirent.h +++ b/libc/sysdeps/linux/v850/bits/dirent.h @@ -40,6 +40,9 @@ struct dirent __off64_t d_off; #endif unsigned short int d_reclen; +#ifdef __USE_FILE_OFFSET64 + unsigned char d_type; +#endif char d_name[256]; /* We must not include limits.h! */ }; -- cgit v1.2.3