VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Hans-Werner Hilse <hwhilse@gmail.com> 2015-06-11 11:29:20 +0200 committer: Richard Weinberger <richard@nod.at> 2015-06-25 22:42:21 +0200 commit: 8eeba4e9a76cd126e737d3d303d9c424b66ea90d parent: f9bb3b5947c507d402eecbffabb8fb0864263ad1
Commit Summary:
um: Include sys/types.h for makedev(), major(), minor()
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/arch/um/os-Linux/file.c b/arch/um/os-Linux/file.c
index 08d90fba952c..26e0164895e4 100644
--- a/arch/um/os-Linux/file.c
+++ b/arch/um/os-Linux/file.c
@@ -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)