1
0
Fork 0

um: Include sys/types.h for makedev(), major(), minor()

The functions in question are not part of the POSIX standard,
documentation however hints that the corresponding header shall
be sys/types.h. C libraries other than glibc, namely musl, did
not include that header via other ways and complained.

Signed-off-by: Hans-Werner Hilse <hwhilse@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
hifive-unleashed-5.1
Hans-Werner Hilse 2015-06-11 11:29:20 +02:00 committed by Richard Weinberger
parent f9bb3b5947
commit 8eeba4e9a7
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/un.h>
#include <sys/types.h>
#include <os.h>
static void copy_stat(struct uml_stat *dst, const struct stat64 *src)