summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/uml/patches-2.6.32/007-uml_missing_stat_h.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/uml/patches-2.6.32/007-uml_missing_stat_h.patch b/target/linux/uml/patches-2.6.32/007-uml_missing_stat_h.patch
new file mode 100644
index 000000000..bddd23c3e
--- /dev/null
+++ b/target/linux/uml/patches-2.6.32/007-uml_missing_stat_h.patch
@@ -0,0 +1,10 @@
+--- a/arch/um/os-Linux/mem.c
++++ b/arch/um/os-Linux/mem.c
+@@ -10,6 +10,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <string.h>
++#include <sys/stat.h>
+ #include <sys/mman.h>
+ #include <sys/param.h>
+ #include "init.h"