mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
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:
parent
eecf7a2097
commit
d76987be96
4 changed files with 6 additions and 4 deletions
|
@ -13,6 +13,7 @@
|
|||
#include <pwd.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue