aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-11-07 15:41:52 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-11-07 15:41:52 +0000
commitd6be4498f186a9179561ccc04d41d92af8700715 (patch)
tree0bd428399bf0466b3b17ac8b8a436a48d483bcdf
parentfec470a1de4a6bab792ffbc5057d88fb8149dafd (diff)
downloadupstream-d6be4498f186a9179561ccc04d41d92af8700715.tar.gz
upstream-d6be4498f186a9179561ccc04d41d92af8700715.tar.bz2
upstream-d6be4498f186a9179561ccc04d41d92af8700715.zip
[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"