diff options
author | Liav A <liavalb@gmail.com> | 2021-08-08 21:23:27 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-12 20:57:32 +0200 |
commit | bf1adc2d5d383c0421f19ccb36a0358ff2ee0ce5 (patch) | |
tree | 6f20ee88e352aca58753175a7536947c005693be /Userland/Libraries/LibC | |
parent | 04c2addaa89ac63d6830baae70afdcbca0c4cd21 (diff) | |
download | serenity-bf1adc2d5d383c0421f19ccb36a0358ff2ee0ce5.zip |
Kernel+LibC: Use 64 bit values for ino_t
Since the InodeIndex encapsulates a 64 bit value, it is correct to
ensure that the Kernel is exposing the entire value and the LibC is
aware of it.
This commit requires an entire re-compile because it's essentially a
change in the Kernel ABI, together with a corresponding change in LibC.
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r-- | Userland/Libraries/LibC/dirent.cpp | 1 | ||||
-rw-r--r-- | Userland/Libraries/LibC/sys/types.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/dirent.cpp b/Userland/Libraries/LibC/dirent.cpp index d92cf85050..7475d22519 100644 --- a/Userland/Libraries/LibC/dirent.cpp +++ b/Userland/Libraries/LibC/dirent.cpp @@ -5,6 +5,7 @@ */ #include <AK/Assertions.h> +#include <AK/Format.h> #include <AK/ScopeGuard.h> #include <AK/StdLibExtras.h> #include <AK/Vector.h> diff --git a/Userland/Libraries/LibC/sys/types.h b/Userland/Libraries/LibC/sys/types.h index f1d39d02b4..ad21502176 100644 --- a/Userland/Libraries/LibC/sys/types.h +++ b/Userland/Libraries/LibC/sys/types.h @@ -32,7 +32,7 @@ typedef char* caddr_t; typedef int id_t; -typedef uint32_t ino_t; +typedef uint64_t ino_t; typedef int64_t off_t; typedef uint32_t blkcnt_t; |