diff options
Diffstat (limited to 'kernel/fs')
-rw-r--r-- | kernel/fs/vfs.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/fs/vfs.h b/kernel/fs/vfs.h index 76c0a0c..d042acf 100644 --- a/kernel/fs/vfs.h +++ b/kernel/fs/vfs.h @@ -10,6 +10,7 @@ typedef struct vfs_mounts vfs_mounts_t; #include <stddef.h> #include <sys/stat.h> #include <typedefs.h> +#include <dirent.h> // FIXME: Is there some standard value for this? #define O_NONBLOCK (1 << 0) @@ -38,11 +39,6 @@ struct vfs_mounts { vfs_inode_t *local_root; }; -struct dirent { - unsigned int d_ino; // File serial number. - char d_name[PATH_MAX]; // Filename string of entry. -}; - struct vfs_fd { size_t offset; int flags; |