diff options
author | Jean-Baptiste Boric <jblbeurope@gmail.com> | 2021-05-14 17:55:39 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-14 22:24:02 +0200 |
commit | d76987be96aa68fbad81b419a4c27e34391e2c9a (patch) | |
tree | d90365d03356504f775160449442134f9d119a02 /Userland/Utilities/stat.cpp | |
parent | eecf7a20972b492d249884c1f725e7ae7cd36c8e (diff) | |
download | serenity-d76987be96aa68fbad81b419a4c27e34391e2c9a.zip |
LibC: Move makedev(), major(), minor(), to sys/types.h
It's technically not specified by POSIX, but it appears most Unix-like
systems worth mentioning put those definitions there. Also, it's more
logical since the dev_t type is defined there.
Diffstat (limited to 'Userland/Utilities/stat.cpp')
-rw-r--r-- | Userland/Utilities/stat.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Utilities/stat.cpp b/Userland/Utilities/stat.cpp index 1abca9507a..f13e34d1d2 100644 --- a/Userland/Utilities/stat.cpp +++ b/Userland/Utilities/stat.cpp @@ -13,6 +13,7 @@ #include <pwd.h> #include <stdio.h> #include <sys/stat.h> +#include <sys/types.h> #include <time.h> #include <unistd.h> |