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 | c991aafef0ee266a2f8fb99a1fef56f48533cb50 (patch) | |
tree | a4f61b2f15b85323a957ce0d094fd7214703a922 /target/linux/uml | |
parent | 1e671ef49c1066d59d66b0bf639415019ad35ceb (diff) | |
download | upstream-c991aafef0ee266a2f8fb99a1fef56f48533cb50.tar.gz upstream-c991aafef0ee266a2f8fb99a1fef56f48533cb50.tar.bz2 upstream-c991aafef0ee266a2f8fb99a1fef56f48533cb50.zip |
fix build failure when targetting ramdisk
SVN-Revision: 23914
Diffstat (limited to 'target/linux/uml')
-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" |