Current newlib does not define O_NDELAY, but it needs to be the same as O_NONBLOCK rather than using the lwip value of 1. Signed-off-by: Dirk Ziegelmeier <dirk@ziegelmeier.net>
@@ -442,7 +442,7 @@ typedef struct ipv6_mreq {
#define O_NONBLOCK 1 /* nonblocking I/O */
#endif
#ifndef O_NDELAY
-#define O_NDELAY 1 /* same as O_NONBLOCK, for compatibility */
+#define O_NDELAY O_NONBLOCK /* same as O_NONBLOCK, for compatibility */
#ifndef O_RDONLY
#define O_RDONLY 2