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.
This commit is contained in:
Jean-Baptiste Boric 2021-05-14 17:55:39 +02:00 committed by Andreas Kling
commit d76987be96
Notes: sideshowbarker 2024-07-18 18:08:32 +09:00
4 changed files with 6 additions and 4 deletions

View file

@ -13,6 +13,7 @@
#include <pwd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>