diff --git a/src/ox/fs/filesystem.hpp b/src/ox/fs/filesystem.hpp index dcaf41a43..48efcc155 100644 --- a/src/ox/fs/filesystem.hpp +++ b/src/ox/fs/filesystem.hpp @@ -42,6 +42,11 @@ struct DirectoryListing { } }; +template +bool operator<(const DirectoryListing &a, const DirectoryListing &b) { + return a.name < b.name; +} + template struct __attribute__((packed)) DirectoryEntry { InodeId_t inode;