summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-07 15:41:52 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-11-07 15:41:52 +0000
commit91a35b1ce86cf49fba54e9395a7d7145d392b739 (patch)
tree0bd428399bf0466b3b17ac8b8a436a48d483bcdf
parent751c29ca1c13450a152d1e73d11f4e9507819db0 (diff)
[uml] fix build failure when targetting ramdisk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23914 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 0000000000..bddd23c3e0
--- /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"