yaffs direct: Add proper error handler for too many files open
[yaffs2.git] / yportenv.h
index 2f9063b..38a3595 100644 (file)
 #define EINVAL 22
 #endif
 
+#ifndef ENFILE
+#define ENFILE 23
+#endif
+
 #ifndef EBADF
 #define EBADF  9
 #endif