summaryrefslogtreecommitdiffstats
path: root/kernel/arch/um/os-Linux/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/um/os-Linux/file.c')
-rw-r--r--kernel/arch/um/os-Linux/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/arch/um/os-Linux/file.c b/kernel/arch/um/os-Linux/file.c
index 08d90fba9..26e016489 100644
--- a/kernel/arch/um/os-Linux/file.c
+++ b/kernel/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)