summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dirent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 209285aa..ca000bd9 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -21,6 +21,8 @@ struct dirent
char d_name[1];
};
+#define d_fileno d_ino
+
int closedir(DIR *);
DIR *fdopendir(int);
DIR *opendir(const char *);