1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-01 14:09:43 +02:00
openwrt-xburst/target/linux/uml/patches-2.6.32/007-uml_missing_stat_h.patch
florian 91a35b1ce8 [uml] fix build failure when targetting ramdisk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-07 15:41:52 +00:00

11 lines
226 B
Diff

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