diff options
Diffstat (limited to 'include/dirent.h')
-rw-r--r-- | include/dirent.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/dirent.h b/include/dirent.h index f09a88f21c..8f23aee234 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -1,9 +1,12 @@ #ifndef _DIRENT_H # include <dirstream.h> # include <dirent/dirent.h> +# include <sys/stat.h> +# include <stdbool.h> /* Now define the internal interfaces. */ extern DIR *__opendir (__const char *__name); +extern DIR *__fdopendir (int __fd); extern int __closedir (DIR *__dirp); extern struct dirent *__readdir (DIR *__dirp); extern struct dirent64 *__readdir64 (DIR *__dirp); @@ -23,4 +26,7 @@ extern int __alphasort64 (const void *a, const void *b) __attribute_pure__; extern int __versionsort64 (const void *a, const void *b) __attribute_pure__; +extern DIR *__alloc_dir (int fd, bool close_fd, const struct stat64 *statp) + internal_function; + #endif |