openwrtv3/target/linux/uml/patches-2.6.32/007-uml_missing_stat_h.patch
Florian Fainelli c991aafef0 fix build failure when targetting ramdisk
SVN-Revision: 23914
2010-11-07 15:41:52 +00:00

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