Win32 dirent: remove unused dirent.d_ino member
[git] / compat / win32 / dirent.h
1 #ifndef DIRENT_H
2 #define DIRENT_H
3
4 typedef struct DIR DIR;
5
6 #define DT_UNKNOWN 0
7 #define DT_DIR     1
8 #define DT_REG     2
9 #define DT_LNK     3
10
11 struct dirent {
12         char d_name[FILENAME_MAX];       /* File name. */
13         union {
14                 unsigned short d_reclen; /* Always zero. */
15                 unsigned char  d_type;   /* Reimplementation adds this */
16         };
17 };
18
19 DIR *opendir(const char *dirname);
20 struct dirent *readdir(DIR *dir);
21 int closedir(DIR *dir);
22
23 #endif /* DIRENT_H */