1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 02:38:59 +02:00

[uml] fix build failure when targetting ramdisk

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23914 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2010-11-07 15:41:52 +00:00
parent 751c29ca1c
commit 91a35b1ce8

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"