OrionLibC
Barry Using POSIX names for structs 11f4683 (3 years, 1 month ago)
diff --git a/include/dirent.h b/include/dirent.h
index abdad04..d5ddba7 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -17,10 +17,10 @@ enum DirType {
/* Structure for a Directory Entry */
typedef struct dirent {
- ino_t ino;
- enum DirType type;
- size_t namelen;
- char name[];
+ ino_t d_ino;
+ enum DirType d_type;
+ size_t d_namelen;
+ char d_name[];
} DirEnt;
#ifdef __cplusplus