Index: ports/glibc-compat/include/sys/dirent.h |
diff --git a/ports/glibc-compat/include/sys/dirent.h b/ports/glibc-compat/include/sys/dirent.h |
index 726da2ec7fb4635ba8ab84e9ba24829e32c4d6a1..910070d8b5962f5f5ae1d1a04b98350128f4098d 100644 |
--- a/ports/glibc-compat/include/sys/dirent.h |
+++ b/ports/glibc-compat/include/sys/dirent.h |
@@ -14,7 +14,13 @@ |
__BEGIN_DECLS |
#endif |
+int dirfd(DIR *dirp); |
int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result); |
+int alphasort(const void *a, const void *b); |
+int scandir(const char *dirp, struct dirent ***namelist, |
+ int (*filter)(const struct dirent *), |
+ int (*compar)(const struct dirent **, const struct dirent **)); |
+DIR *fdopendir(int fd); |
/* Work around a dirent.h wrapping includes in extern "C". */ |
#if defined(_DIRENT_H_) |