summaryrefslogtreecommitdiff
path: root/include/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dirent.h')
-rw-r--r--include/dirent.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/dirent.h b/include/dirent.h
index b040a042d3..4e95ffd6cd 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -2,6 +2,7 @@
# 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);
@@ -24,5 +25,6 @@ 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, struct stat64 *statp) internal_function;
+extern DIR *__alloc_dir (int fd, bool close_fd, struct stat64 *statp)
+ internal_function;
#endif