yaffs: More clean up
[yaffs2.git] / yportenv.h
index 2f9063bf7a9e06ab1c2bf501e06bd61526b5a485..ebb4f92041dd1e582f89e1e96b8eadf7e40e677b 100644 (file)
@@ -49,6 +49,7 @@
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
 #include <linux/xattr.h>
+#include <linux/list.h>
 
 #define YCHAR char
 #define YUCHAR unsigned char
 #define EINVAL 22
 #endif
 
+#ifndef ENFILE
+#define ENFILE 23
+#endif
+
 #ifndef EBADF
 #define EBADF  9
 #endif