Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8eeba4e9 authored by Hans-Werner Hilse's avatar Hans-Werner Hilse Committed by Richard Weinberger
Browse files

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: default avatarHans-Werner Hilse <hwhilse@gmail.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent f9bb3b59
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -13,6 +13,7 @@
#include <sys/socket.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <sys/un.h>
#include <sys/un.h>
#include <sys/types.h>
#include <os.h>
#include <os.h>


static void copy_stat(struct uml_stat *dst, const struct stat64 *src)
static void copy_stat(struct uml_stat *dst, const struct stat64 *src)