From 0ecb606cb6cf65de1d9fc8a919bceb4be476c602 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 12 Jul 2007 18:26:36 +0000 Subject: 2.5-18.1 --- include/dirent.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/dirent.h') diff --git a/include/dirent.h b/include/dirent.h index f09a88f..8f23aee 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -1,9 +1,12 @@ #ifndef _DIRENT_H # include # include +# include +# include /* 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 -- cgit v1.1