diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-12-14 05:23:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-24 10:36:33 +0300 |
commit | f57f3f346d0516fcfcb9bee1df2a2a9f361c4396 (patch) | |
tree | d72536aafdbee0fca1f32c3052fc03c980c228b0 /arch/um/os-Linux/file.c | |
parent | dc0f003274525862bd671bf438398bf46fc62b0f (diff) | |
download | linux-f57f3f346d0516fcfcb9bee1df2a2a9f361c4396.tar.xz |
um: Compile with modern headers
commit 530ba6c7cb3c22435a4d26de47037bb6f86a5329 upstream.
Recent libcs have gotten a bit more strict, so we actually need to
include the right headers and use the right types. This enables UML to
compile again.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Cc: stable@vger.kernel.org
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/um/os-Linux/file.c')
-rw-r--r-- | arch/um/os-Linux/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/os-Linux/file.c b/arch/um/os-Linux/file.c index 2db18cbbb0ea..c0197097c86e 100644 --- a/arch/um/os-Linux/file.c +++ b/arch/um/os-Linux/file.c @@ -12,6 +12,7 @@ #include <sys/mount.h> #include <sys/socket.h> #include <sys/stat.h> +#include <sys/sysmacros.h> #include <sys/un.h> #include <sys/types.h> #include <os.h> |