Browse Source

fix build failure when targetting ramdisk

SVN-Revision: 23914
Florian Fainelli 15 years ago
parent
commit
c991aafef0
1 changed files with 10 additions and 0 deletions
  1. 10 0
      target/linux/uml/patches-2.6.32/007-uml_missing_stat_h.patch

+ 10 - 0
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"