OSDN Git Service

um: Include sys/types.h for makedev(), major(), minor()
authorHans-Werner Hilse <hwhilse@gmail.com>
Thu, 11 Jun 2015 09:29:20 +0000 (11:29 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 25 Jun 2015 20:42:21 +0000 (22:42 +0200)
commit8eeba4e9a76cd126e737d3d303d9c424b66ea90d
treecc569d602324a84beb30e9989fc6489d84b07511
parentf9bb3b5947c507d402eecbffabb8fb0864263ad1
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>
arch/um/os-Linux/file.c