diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-11-07 15:41:52 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-11-07 15:41:52 +0000 |
commit | d6be4498f186a9179561ccc04d41d92af8700715 (patch) | |
tree | 0bd428399bf0466b3b17ac8b8a436a48d483bcdf /target/linux/uml/patches-2.6.32/007-uml_missing_stat_h.patch | |
parent | fec470a1de4a6bab792ffbc5057d88fb8149dafd (diff) | |
download | upstream-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
Diffstat (limited to 'target/linux/uml/patches-2.6.32/007-uml_missing_stat_h.patch')
-rw-r--r-- | target/linux/uml/patches-2.6.32/007-uml_missing_stat_h.patch | 10 |
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" |