fix build failure when targetting ramdisk

SVN-Revision: 23914
This commit is contained in:
Florian Fainelli 2010-11-07 15:41:52 +00:00
parent 1e671ef49c
commit c991aafef0

View file

@ -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"