--- a/epoc32/include/stdapis/dirent.h Wed Mar 31 12:27:01 2010 +0100
+++ b/epoc32/include/stdapis/dirent.h Wed Mar 31 12:33:34 2010 +0100
@@ -100,6 +100,14 @@
IMPORT_C int alphasort(const void *, const void *);
IMPORT_C int scandir(const char *, struct dirent ***,
int (*)(struct dirent *), int (*)(const void *, const void *));
+
+#if defined(SYMBIAN_OE_LARGE_FILE_SUPPORT) && !defined(SYMBIAN_OE_NO_LFS)
+#define readdir64 readdir
+#define alphasort64 alphasort
+#define scandir64 scandir
+#endif /* SYMBIAN_OE_LARGE_FILE_SUPPORT && !SYMBIAN_OE_NO_LFS */
+
+
#if __XSI_VISIBLE
IMPORT_C void seekdir(DIR *, long);
IMPORT_C long telldir(DIR *);